]> git.phdru.name Git - dotfiles.git/blob - .inputrc
.vimrc: Set `visualbell` and `belloff`
[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 # Make Tab autocomplete regardless of filename case
11 #set completion-ignore-case on
12
13 set bell-style none
14 set expand-tilde off
15 set mark-symlinked-directories on
16 set print-completions-horizontally on
17 set revert-all-at-newline on
18 #set show-all-if-ambiguous on
19
20 # Be more intelligent when autocompleting by also looking at the text after
21 # the cursor. For example, when the current line is "cd ~/src/mozil", and
22 # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
23 # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
24 # Readline used by Bash 4.)
25 set skip-completed-text on
26
27 # Show extra file information when completing, like `ls -F` does
28 set visible-stats on
29
30 # In all programs, all terminals, make sure this is bound.
31 "\C-x\C-r": re-read-init-file
32
33 Tab: complete
34 M-Tab: menu-complete
35
36 # Some terminals have ugly default behaviour for C-h.
37 #"\C-h": backward-delete-char
38 #"\e\C-h": backward-kill-word
39
40 # More intelligent PgUp/PgDn behavior: use the text that has already
41 # been typed as the prefix for searching through commands.
42 "\e[5~": history-search-backward
43 "\e[6~": history-search-forward
44
45 # Debug
46 "\C-xf": dump-functions
47 "\C-xv": dump-variables
48 "\C-xm": dump-macros
49
50 # Notice the various bindings which are conditionalized depending
51 # on which program is running, or what terminal is active.
52
53 # In xterm windows, make the arrow keys do the right thing.
54 $if term=xterm
55    $include $HOME/lib/X11/inputrc
56 $endif
57 $if term=rxvt
58    $include $HOME/lib/X11/inputrc
59 $endif
60 $if term=vt100
61    $include $HOME/lib/X11/inputrc
62 $endif
63 $if term=screen
64    $include $HOME/lib/X11/inputrc
65 $endif
66
67 # For bash, all terminals, add some bash specific hacks.
68 #$if Bash
69 #$endif