]> git.phdru.name Git - dotfiles.git/blob - .inputrc
Set LESS_TERMCAP_* for light and dark backgrounds
[dotfiles.git] / .inputrc
1 # readline/history settings and bindings
2
3 $include /etc/inputrc
4
5 set meta-flag on
6 set convert-meta off
7 set input-meta on
8 set output-meta on
9
10 set bell-style none
11 set completion-ignore-case off
12 set expand-tilde on
13
14 # In all programs, all terminals, make sure this is bound.
15 "\C-x\C-r": re-read-init-file
16
17 Tab: complete
18 M-Tab: menu-complete
19
20 # Some terminals have ugly default behaviour for C-h.
21 #"\C-h": backward-delete-char
22 #"\e\C-h": backward-kill-word
23
24 # PgUp/PgDn
25 "\e[5~": history-search-backward
26 "\e[6~": history-search-forward
27
28 # Debug
29 "\C-xf": dump-functions
30 "\C-xv": dump-variables
31 "\C-xm": dump-macros
32
33 # Notice the various bindings which are conditionalized depending
34 # on which program is running, or what terminal is active.
35
36 # In xterm windows, make the arrow keys do the right thing.
37 $if term=xterm
38    $include $HOME/lib/X11/inputrc
39 $endif
40 $if term=rxvt
41    $include $HOME/lib/X11/inputrc
42 $endif
43 $if term=vt100
44    $include $HOME/lib/X11/inputrc
45 $endif
46 $if term=screen
47    $include $HOME/lib/X11/inputrc
48 $endif
49
50 # For bash, all terminals, add some bash specific hacks.
51 #$if Bash
52 #$endif