.inputrc
changeset 142 e77decd4520a
parent 92 92f5fb787ec4
child 143 e78ca0a7e608
--- 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