Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Created June 23, 2010 09:43
Show Gist options
  • Save alloy-d/449710 to your computer and use it in GitHub Desktop.
Save alloy-d/449710 to your computer and use it in GitHub Desktop.
Keybindings for Vim in Colemak that don't move the navigation keys.
" My thrown-together-in-five-minutes Vim bindings for Colemak.
"
" The most radical change here is that 's' enters insert mode.
" Importantly, the movement keys remain unaltered.
"
" Any other keys (o, y, p, u, etc) use their Colemak locations
" because they're better (and my fingers have forgotten QWERTY).
" Movement
nnoremap n gj
nnoremap e gk
nnoremap i l
vnoremap n gj
vnoremap e gk
vnoremap i l
vnoremap s i
nnoremap s i
nnoremap S I
omap s i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment