]> git.phdru.name Git - dotfiles.git/blob - .inputrc
lib/config/gpg-agent-update-tty: Change gpg-connect-agent command line
[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 # PgUp/PgDn - previous/next command in history
41 "\e[5~": previous-history
42 "\e[6~": next-history
43
44 # More intelligent Up/Down behavior: use the text that has already
45 # been typed as the prefix for searching through commands.
46 "\e[A": history-search-backward
47 "\e[B": history-search-forward
48
49 # Debug
50 "\C-xf": dump-functions
51 "\C-xv": dump-variables
52 "\C-xm": dump-macros
53
54 # Notice the various bindings which are conditionalized depending
55 # on which program is running, or what terminal is active.
56
57 # In xterm windows, make the arrow keys do the right thing.
58 $if term=xterm
59    $include $HOME/lib/X11/inputrc
60 $endif
61 $if term=rxvt
62    $include $HOME/lib/X11/inputrc
63 $endif
64 $if term=vt100
65    $include $HOME/lib/X11/inputrc
66 $endif
67 $if term=screen
68    $include $HOME/lib/X11/inputrc
69 $endif
70
71 # For bash, all terminals, add some bash specific hacks.
72 #$if Bash
73 #$endif