X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.inputrc;h=30bd90e482f0722e5298d5250e375a0ecf269f04;hb=f7555918c8180c281c91caec2cb5f7990e1719bb;hp=da12255e99502c98de6b82c166afb7803a321ae0;hpb=51cc229426e18612caf882bf622b720a5c5b131a;p=home.git diff --git a/.inputrc b/.inputrc index da12255..30bd90e 100644 --- a/.inputrc +++ b/.inputrc @@ -16,9 +16,17 @@ 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 + # mappings for "page up" and "page down" to step to the beginning/end # of the history "\e[5~": history-search-backward