]> git.wh0rd.org - home.git/blob - .inputrc
inputrc: support meta+arrow keys to advance words
[home.git] / .inputrc
1 set bell-style off
2 #set completion-ignore-case on
3 #set expand-tilde on
4 set match-hidden-files off
5 #set show-all-if-ambiguous on
6 set show-all-if-unmodified on
7 set mark-symlinked-directories on
8 set match-hidden-files off
9 set skip-completed-text on
10 set visible-stats on
11 set blink-matching-paren on
12 set colored-stats on
13 set colored-completion-prefix off
14 # https://cirw.in/blog/bracketed-paste
15 set enable-bracketed-paste on
16
17 # alt+k to delete back a word (like alt+backspace)
18 "\ek": backward-kill-word
19
20 # konsole (alt + arrow key)
21 "\e[1;3C": forward-word
22 "\e[1;3D": backward-word
23 # meta + arrow key
24 "\e[1;9C": forward-word
25 "\e[1;9D": backward-word
26
27 # mappings for "page up" and "page down" to step to the beginning/end
28 # of the history
29 "\e[5~": history-search-backward
30 "\e[6~": history-search-forward
31
32 $include /etc/inputrc