716d57c512fc3a9eb0c44fa73015aa5e266e819f
[profile] / dot / inputrc
1 ### bash and friends, readline configuration
2
3 ## Eight-bit sensibleness
4 set input-meta on
5 set output-meta on
6 set convert-meta off
7
8 ## Other twiddles.
9 set bell-style none
10 set bind-tty-special-chars off
11 set blink-matching-paren on
12 set colored-completion-prefix off
13 set colored-stats on
14 $if term=dumb
15 $else
16 set enable-bracketed-paste on
17 $endif
18 set show-all-if-ambiguous
19
20 ## Missing bindings
21 "\e\e[C": forward-word
22 "\e\e[D": backward-word
23 "\e ": "\e\\ "
24 "\e\C-w": kill-region
25
26 ## Because the default bindings are just too weird.
27 "\en": history-search-forward
28 "\ep": history-search-backward
29 "\C-u": kill-whole-line
30
31 ## Better cursor motion.
32 $if Bash
33 "\e\C-b": shell-backward-word
34 "\e\C-d": shell-kill-word
35 "\e\C-f": shell-forward-word
36 "\C-w": shell-backward-kill-word
37 $endif