I prefer the vi bindings for word movement (always at the beginning of the word)

pull/2/head
Bodaniel Jeanes 2010-06-30 21:20:27 +10:00
parent 369d42dbed
commit 222148c31f
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
alias reload="source ~/.zshrc" alias reload="source ~/.zshrc"
bindkey "\e\e[C" forward-word # Option-Left + Option-Right for moving word-by-word in OS X
bindkey "\e\e[D" backward-word bindkey "\e\e[C" vi-forward-word
bindkey "\e\e[D" vi-backward-word
# http://www.scannedinavian.com/~shae/shae.zshrc # http://www.scannedinavian.com/~shae/shae.zshrc
# These are options I've copied but yet to totally investigate if it's what I want # These are options I've copied but yet to totally investigate if it's what I want