zshrc.d/60-vi-showmode.zrc
changeset 8 3f68f355bf1a
parent 0 7215ca490221
child 14 77db3f389db7
equal deleted inserted replaced
7:c032d39eafcf 8:3f68f355bf1a
   229 bindkey -M viins '^T'    transpose-chars
   229 bindkey -M viins '^T'    transpose-chars
   230 bindkey -M viins '^Xm'   _most_recent_file
   230 bindkey -M viins '^Xm'   _most_recent_file
   231 
   231 
   232 bindkey -M viins -s '^X^H' 'hash -r\n'
   232 bindkey -M viins -s '^X^H' 'hash -r\n'
   233 
   233 
       
   234 # These bindings depend on the ftzle script
       
   235 bindkey -M viins "^X^W" backward-kill-to-slash
       
   236 bindkey '^I' ft-complete
       
   237 
   234 
   238 
   235 if [[ -z ${TERM:#screen} ]]; then
   239 if [[ -z ${TERM:#screen} ]]; then
   236   bindkey -M viins '[1~'  beginning-of-line   # Home
   240   bindkey -M viins '[1~'  beginning-of-line   # Home
   237   bindkey -M viins '[4~'  end-of-line         # End
   241   bindkey -M viins '[4~'  end-of-line         # End
   238 fi
   242 fi