update `readline` config
parent
835257e7a5
commit
6cfa9c603c
|
@ -11,17 +11,19 @@ set keyseq-timeout 50
|
|||
# history search
|
||||
$if mode=vi
|
||||
set keymap vi-command
|
||||
"j": history-search-forward
|
||||
"k": history-search-backward
|
||||
"j": history-substring-search-forward
|
||||
"k": history-substring-search-backward
|
||||
set keymap vi-insert
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
"\e[A": history-substring-search-backward
|
||||
"\e[B": history-substring-search-forward
|
||||
$endif
|
||||
|
||||
# faster completion
|
||||
"\t":menu-complete
|
||||
"\e[Z":menu-complete-backward
|
||||
set completion-ignore-case on
|
||||
set show-all-if-ambiguous on
|
||||
set completion-display-width 0
|
||||
|
||||
# color
|
||||
set colored-stats on
|
||||
|
|
Loading…
Reference in New Issue