$include /etc/inputrc set editing-mode vi $if mode=vi set show-mode-in-prompt on set vi-ins-mode-string \1\e[6 q\2 set vi-cmd-mode-string \1\e[2 q\2 set keymap vi-command Control-l: clear-screen Control-a: beginning-of-line set keymap vi-insert Control-l: clear-screen Control-a: beginning-of-line set completion-ignore-case on $endif