mirror of https://github.com/bjeanes/dotfiles.git
I prefer the vi bindings for word movement (always at the beginning of the word)
parent
369d42dbed
commit
222148c31f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue