Skip to content

Instantly share code, notes, and snippets.

@juev
Forked from tpope/.inputrc
Created September 8, 2011 16:55
Show Gist options
  • Save juev/1203897 to your computer and use it in GitHub Desktop.
Save juev/1203897 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