| 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 bind-tty-special-chars off |
| 10 | set blink-matching-paren on |
| 11 | |
| 12 | ## Missing bindings |
| 13 | "\e\e[C": forward-word |
| 14 | "\e\e[D": backward-word |
| 15 | |
| 16 | ## Because the default bindings are just too weird. |
| 17 | "\en": history-search-forward |
| 18 | "\ep": history-search-backward |
| 19 | |
| 20 | ## Better cursor motion. |
| 21 | "\e\C-b": shell-backward-word |
| 22 | "\e\C-d": shell-kill-word |
| 23 | "\e\C-f": shell-forward-word |
| 24 | "\C-w": shell-backward-kill-word |
| 25 | "\e\C-w": kill-region |