1 # readline/history settings and bindings
10 # Make Tab autocomplete regardless of filename case
11 #set completion-ignore-case on
15 set print-completions-horizontally off
16 #set show-all-if-ambiguous on
18 # Be more intelligent when autocompleting by also looking at the text after
19 # the cursor. For example, when the current line is "cd ~/src/mozil", and
20 # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
21 # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
22 # Readline used by Bash 4.)
23 set skip-completed-text on
25 # Show extra file information when completing, like `ls -F` does
28 # In all programs, all terminals, make sure this is bound.
29 "\C-x\C-r": re-read-init-file
34 # Some terminals have ugly default behaviour for C-h.
35 #"\C-h": backward-delete-char
36 #"\e\C-h": backward-kill-word
38 # PgUp/PgDn - previous/next command in history
39 "\e[5~": previous-history
42 # More intelligent Up/Down behavior: use the text that has already
43 # been typed as the prefix for searching through commands.
44 "\e[A": history-search-backward
45 "\e[B": history-search-forward
48 "\C-xf": dump-functions
49 "\C-xv": dump-variables
52 # Notice the various bindings which are conditionalized depending
53 # on which program is running, or what terminal is active.
55 # In xterm windows, make the arrow keys do the right thing.
57 $include $HOME/lib/X11/inputrc
60 $include $HOME/lib/X11/inputrc
63 $include $HOME/lib/X11/inputrc
66 $include $HOME/lib/X11/inputrc
69 # For bash, all terminals, add some bash specific hacks.