14 lines
294 B
Plaintext
14 lines
294 B
Plaintext
$include /etc/inputrc
|
|
set editing-mode vi
|
|
$if mode=vi
|
|
set keymap vi-command
|
|
# these are for vi-command mode
|
|
"\e[A": history-search-backward
|
|
"\e[B": history-search-forward
|
|
set keymap vi-insert
|
|
# these are for vi-insert mode
|
|
"\e[A": history-search-backward
|
|
"\e[B": history-search-forward
|
|
$endif
|
|
|