diff -r 09d247c43f3d -r e77decd4520a .inputrc --- a/.inputrc Sat Jul 16 14:47:06 2011 +0300 +++ b/.inputrc Sat Jul 16 14:51:15 2011 +0300 @@ -61,6 +61,13 @@ "\C-w": kill-region "\M-w": copy-region-as-kill +# Ctrl+Left/Right to move by whole words. +"\e[1;5C": forward-word +"\e[1;5D": backward-word +# Same with SHIFT pressed. +"\e[1;6C": forward-word +"\e[1;6D": backward-word + # Local Variables: # mode: shell-script # fill-column: 78