inputrc (372B)
1 $include /etc/inputrc 2 set editing-mode vi 3 $if mode=vi 4 5 set show-mode-in-prompt on 6 set vi-ins-mode-string \1\e[6 q\2 7 set vi-cmd-mode-string \1\e[2 q\2 8 9 set keymap vi-command 10 # these are for vi-command mode 11 Control-l: clear-screen 12 Control-a: beginning-of-line 13 14 set keymap vi-insert 15 # these are for vi-insert mode 16 Control-l: clear-screen 17 Control-a: beginning-of-line 18 19 $endif