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