Skip to content

Instantly share code, notes, and snippets.

@tpope
Created September 8, 2011 16:43
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save tpope/1203867 to your computer and use it in GitHub Desktop.
Save tpope/1203867 to your computer and use it in GitHub Desktop.
Basic amenities for vi readline bindings
set keymap vi-insert
Control-a: beginning-of-line
Control-b: backward-char
Control-d: delete-char
Control-e: end-of-line
Control-f: forward-char
Control-k: kill-line
Control-n: next-history
Control-p: previous-history
set keymap emacs-ctlx
v: vi-editing-mode
Control-v: "\C-xv\e"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment