]> git.wh0rd.org Git - home.git/commitdiff
inputrc: change ctrl+arrow for shell skipping words
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Feb 2018 05:03:43 +0000 (00:03 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 14 Feb 2018 05:03:43 +0000 (00:03 -0500)
.inputrc

index 39c18f564b8053747349b5bc06beee0b26dba910..30bd90e482f0722e5298d5250e375a0ecf269f04 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -17,9 +17,12 @@ set enable-bracketed-paste on
 # alt+k to delete back a word (like alt+backspace)
 "\ek": backward-kill-word
 
-# konsole (alt + arrow key)
+# alt + arrow key
 "\e[1;3C": forward-word
 "\e[1;3D": backward-word
+# ctrl + arrow key
+"\e[1;5C": shell-forward-word
+"\e[1;5D": shell-backward-word
 # meta + arrow key
 "\e[1;9C": forward-word
 "\e[1;9D": backward-word