1 # Two escapes clear command line. |
1 $include /etc/inputrc |
2 "\e\e": "\C-a\C-k" |
|
3 |
2 |
4 # Tab to menu complete |
3 set completion-ignore-case on |
5 # "\t": menu-complete |
4 |
|
5 set expand-tilde on |
|
6 set mark-directories on |
|
7 set show-all-if-ambiguous on |
|
8 set visible-stats on |
|
9 set completion-display-width 120 |
|
10 |
|
11 set bell-style none |
|
12 |
|
13 set input-meta on |
|
14 set output-meta on |
6 |
15 |
7 # Incremental searching with Up and Down and Left and Right |
16 # Incremental searching with Up and Down and Left and Right |
8 |
|
9 $if mode=emacs |
17 $if mode=emacs |
10 "\e[A": history-search-backward |
18 "\e[A": history-search-backward |
11 "\e[B": history-search-forward |
19 "\e[B": history-search-forward |
12 "\e\e[C": forward-word |
20 "\e\e[C": forward-word |
13 "\e\e[D": backward-word |
21 "\e\e[D": backward-word |
14 $endif |
22 $endif |
15 |
23 |
16 set completion-ignore-case On |
|
17 #set completion-prefix-display-length 2 |
|
18 set expand-tilde on |
|
19 set mark-directories on |
|
20 set show-all-if-ambiguous on |
|
21 set visible-stats on |
|
22 |
|
23 set bell-style off |
|
24 |
|
25 set meta-flag on |
|
26 set input-meta on |
|
27 set convert-meta off |
|
28 set output-meta on |
|
29 |
|
30 $if Bash |
24 $if Bash |
31 #do history expansion when space entered |
|
32 Space: magic-space |
25 Space: magic-space |
33 $endif |
26 $endif |
34 |
27 |
35 $include /etc/inputrc |
|
36 |
|