dot/inputrc: Don't enable bracketed-paste when `$TERM' is `dumb'.
[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
MW
12set colored-completion-prefix off
13set colored-stats on
39c3239b
MW
14$if term=dumb
15$else
c626c512 16set enable-bracketed-paste on
39c3239b 17$endif
675455c2 18set show-all-if-ambiguous
2d04b37b 19
1b873f82
MW
20## Missing bindings
21"\e\e[C": forward-word
22"\e\e[D": backward-word
c626c512 23"\e ": "\e\\ "
ad4f178b 24"\e\C-w": kill-region
2d04b37b
MW
25
26## Because the default bindings are just too weird.
27"\en": history-search-forward
28"\ep": history-search-backward
859a1658 29"\C-u": kill-whole-line
2d04b37b
MW
30
31## Better cursor motion.
c31903d7 32$if Bash
2d04b37b
MW
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
c31903d7 37$endif