Created
June 23, 2010 09:43
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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