From 222148c31f90b78ecf7906b955e786d79279640f Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Wed, 30 Jun 2010 21:20:27 +1000 Subject: [PATCH] I prefer the vi bindings for word movement (always at the beginning of the word) --- zsh/config.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/config.zsh b/zsh/config.zsh index 7fec79d..6fc2468 100644 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -1,7 +1,8 @@ alias reload="source ~/.zshrc" -bindkey "\e\e[C" forward-word -bindkey "\e\e[D" backward-word +# Option-Left + Option-Right for moving word-by-word in OS X +bindkey "\e\e[C" vi-forward-word +bindkey "\e\e[D" vi-backward-word # http://www.scannedinavian.com/~shae/shae.zshrc # These are options I've copied but yet to totally investigate if it's what I want