blob: a6c393c5e3ae54e0d1252b55fa16afe4194ce7a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Swap history search keys
"\e[5~": previous-history
"\eOA": history-search-backward
"\e[A": history-search-backward
"\e[6~": next-history
"\eOB": history-search-forward
"\e[B": history-search-forward
set completion-ignore-case on
set completion-prefix-display-length 2
$if term=dumb
# Nothing to do
$else
Control-j: menu-complete
Control-l: menu-complete-backward
$endif
set show-all-if-ambiguous on
set show-all-if-unmodified on
set completion-map-case on
"\e[C": forward-char
"\e[D": backward-char
|