|
1 # Two escapes clear command line. |
|
2 "\e\e": "\C-a\C-k" |
|
3 |
|
4 # Tab to menu complete |
|
5 # "\t": menu-complete |
|
6 |
|
7 # Incremental searching with Up and Down and Left and Right |
|
8 |
|
9 $if mode=emacs |
|
10 "\e[A": history-search-backward |
|
11 "\e[B": history-search-forward |
|
12 "\e\e[C": forward-word |
|
13 "\e\e[D": backward-word |
|
14 $endif |
|
15 |
|
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 |
|
31 #do history expansion when space entered |
|
32 Space: magic-space |
|
33 $endif |
|
34 |
|
35 $include /etc/inputrc |
|
36 |