1
0
Fork 0

update `readline` config

urosm 2023-10-08 21:36:24 +02:00
parent 835257e7a5
commit 6cfa9c603c
1 changed files with 6 additions and 4 deletions

View File

@ -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