You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
372 B

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