1 # readline/history settings and bindings
10 # Make Tab autocomplete regardless of filename case
11 #set completion-ignore-case on
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
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
27 # Show extra file information when completing, like `ls -F` does
30 # In all programs, all terminals, make sure this is bound.
31 "\C-x\C-r": re-read-init-file
36 # Some terminals have ugly default behaviour for C-h.
37 #"\C-h": backward-delete-char
38 #"\e\C-h": backward-kill-word
40 # PgUp/PgDn - previous/next command in history
41 "\e[5~": previous-history
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
50 "\C-xf": dump-functions
51 "\C-xv": dump-variables
54 # Notice the various bindings which are conditionalized depending
55 # on which program is running, or what terminal is active.
57 # In xterm windows, make the arrow keys do the right thing.
59 $include $HOME/lib/X11/inputrc
62 $include $HOME/lib/X11/inputrc
65 $include $HOME/lib/X11/inputrc
68 $include $HOME/lib/X11/inputrc
71 # For bash, all terminals, add some bash specific hacks.