Skip to content

Instantly share code, notes, and snippets.

@creaktive
Created June 17, 2011 19:08
Show Gist options
  • Save creaktive/1032065 to your computer and use it in GitHub Desktop.
Save creaktive/1032065 to your computer and use it in GitHub Desktop.
readline vi
set -o vi
# ^p check for partial match in history
bind -m vi-insert "\C-p":dynamic-complete-history
# ^n cycle through the list of partial matches
bind -m vi-insert "\C-n":menu-complete
# ^l clear screen
bind -m vi-insert "\C-l":clear-screen
set editing-mode vi
set keymap vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment