2018-01-22 01:29:48 +00:00
|
|
|
$include /etc/inputrc
|
|
|
|
set editing-mode vi
|
|
|
|
$if mode=vi
|
|
|
|
|
|
|
|
set keymap vi-command
|
|
|
|
# these are for vi-command mode
|
|
|
|
Control-l: clear-screen
|
2018-11-10 23:18:07 +00:00
|
|
|
Control-a: beginning-of-line
|
2018-01-22 01:29:48 +00:00
|
|
|
|
|
|
|
set keymap vi-insert
|
|
|
|
# these are for vi-insert mode
|
|
|
|
Control-l: clear-screen
|
2018-11-10 23:18:07 +00:00
|
|
|
Control-a: beginning-of-line
|
|
|
|
|
2018-01-22 01:29:48 +00:00
|
|
|
$endif
|