1 # This file controls the behaviour of line input editing for
2 # programs that use the GNU Readline library. Existing
3 # programs include FTP, Bash, and GDB.
5 # See 'man bash' >> READLINE for documentation on all the readline options and commands.
6 # You can use 'bind' (bash built-in command) to view current readline config:
7 # bind -p ... Display readline function names and bindings in such a way that they can be re-read.
8 # bind -P ... List current readline function names and bindings.
9 # bind -V ... List current readline variable names and values.
10 # (See 'man bash' >> SHELL BUILTIN COMMANDS for additional details...)
11 # You can re-read the inputrc file with C-x C-r (re-read-init-file).
13 set bell-style visible
18 set horizontal-scroll-mode off
19 set history-preserve-point on
20 set mark-directories on
21 set mark-symlinked-directories on
22 set match-hidden-files off
25 set page-completions off
26 set completion-query-items 2000
27 set completion-ignore-case off
28 set show-all-if-ambiguous on
29 set show-all-if-unmodified on
30 set completion-prefix-display-length 10
31 set print-completions-horizontally off
33 set editing-mode emacs
36 "\C-x\C-r": re-read-init-file
38 C-n: history-search-forward
39 C-p: history-search-backward
43 "\e[A": history-search-backward
44 "\e[B": history-search-forward
46 # for linux console and RH/Debian xterm
47 "\e[1~": beginning-of-line
49 "\e[5~": beginning-of-history
50 "\e[6~": end-of-history
52 "\e[2~": quoted-insert
54 "\e[5D": backward-word
55 "\e\e[C": forward-word
56 "\e\e[D": backward-word
57 "\e[1;5C": forward-word
58 "\e[1;5D": backward-word
67 # for non RH/Debian xterm, can't hurt for RH/DEbian xterm
68 "\eOH": beginning-of-line
72 "\e[H": beginning-of-line