Skip to content

Instantly share code, notes, and snippets.

@kul
Created April 16, 2015 15:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kul/be3a88c8aa7393a25646 to your computer and use it in GitHub Desktop.
Save kul/be3a88c8aa7393a25646 to your computer and use it in GitHub Desktop.
inputrc
set editing-mode vi
set keymap vi-insert
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
"\C-l": clear-screen
set keymap vi-insert
"kj": vi-movement-mode
"\C-w": backward-kill-word
"\C-p": history-search-backward
"\C-n": history-search-forward
"\C-l": clear-screen
$endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment