Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 47 lines (39 sloc) 0.935 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
# vim:set et sw=2:

set editing-mode vi

set bell-style none
set completion-ignore-case on
set mark-directories on
set mark-symlinked-directories on
set show-all-if-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on

set input-meta on
set output-meta on
set convert-meta off

$if Bash
  Space: magic-space
$endif

set keymap vi-command
"\e[A": history-search-backward
"\e[B": history-search-forward
"gg": beginning-of-history
"G": end-of-history

set keymap vi-move
"\e[A": history-search-backward
"\e[B": history-search-forward

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
Control-L: clear-screen
"\e[A": history-search-backward
"\e[B": history-search-forward

set keymap emacs-ctlx
v: vi-editing-mode
Control-v: "\C-xv\e"
Escape: "\C-xv\e"
Something went wrong with that request. Please try again.