Commit | Line | Data |
---|---|---|
917b7a9a MW |
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 | |
1b873f82 | 7 | |
2d04b37b | 8 | ## Other twiddles. |
c626c512 | 9 | set bell-style none |
2d04b37b MW |
10 | set bind-tty-special-chars off |
11 | set blink-matching-paren on | |
40421d0b | 12 | set enable-bracketed-paste on |
c626c512 MW |
13 | set colored-completion-prefix off |
14 | set colored-stats on | |
15 | set enable-bracketed-paste on | |
675455c2 | 16 | set show-all-if-ambiguous |
2d04b37b | 17 | |
1b873f82 MW |
18 | ## Missing bindings |
19 | "\e\e[C": forward-word | |
20 | "\e\e[D": backward-word | |
c626c512 | 21 | "\e ": "\e\\ " |
ad4f178b | 22 | "\e\C-w": kill-region |
2d04b37b MW |
23 | |
24 | ## Because the default bindings are just too weird. | |
25 | "\en": history-search-forward | |
26 | "\ep": history-search-backward | |
859a1658 | 27 | "\C-u": kill-whole-line |
2d04b37b MW |
28 | |
29 | ## Better cursor motion. | |
c31903d7 | 30 | $if Bash |
2d04b37b MW |
31 | "\e\C-b": shell-backward-word |
32 | "\e\C-d": shell-kill-word | |
33 | "\e\C-f": shell-forward-word | |
34 | "\C-w": shell-backward-kill-word | |
c31903d7 | 35 | $endif |