dot/emacs: Moderate horizontal scrolling; auto-scroll only one line.
[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 $if Bash
14 set colored-stats on
15 $endif
16 $if term=dumb
17 $else
18 set enable-bracketed-paste on
19 $endif
20
21 ## Missing bindings
22 "\e\e[C": forward-word
23 "\e\e[D": backward-word
24 "\e ": "\e\\ "
25 "\e\C-w": kill-region
26
27 ## Because the default bindings are just too weird.
28 "\en": history-search-forward
29 "\ep": history-search-backward
30 "\C-u": kill-whole-line
31
32 ## Better cursor motion.
33 $if Bash
34 "\e\C-b": shell-backward-word
35 "\e\C-d": shell-kill-word
36 "\e\C-f": shell-forward-word
37 "\C-w": shell-backward-kill-word
38 $endif