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