Skip to content

Instantly share code, notes, and snippets.

@hallelujah
Created March 20, 2013 14:54
Show Gist options
  • Save hallelujah/5205298 to your computer and use it in GitHub Desktop.
Save hallelujah/5205298 to your computer and use it in GitHub Desktop.
Vim numpad file
map <Esc>Oy 9
map! <Esc>Oy 9
map <Esc>Ox 8
map! <Esc>Ox 8
map <Esc>Ow 7
map! <Esc>Ow 7
map <Esc>Ov 6
map! <Esc>Ov 6
map <Esc>Ou 5
map! <Esc>Ou 5
map <Esc>Ot 4
map! <Esc>Ot 4
map <Esc>Os 3
map! <Esc>Os 3
map <Esc>Or 2
map! <Esc>Or 2
map <Esc>Oq 1
map! <Esc>Oq 1
map <Esc>Op 0
map! <Esc>Op 0
map <Esc>On .
map! <Esc>On .
map <Esc>Oo /
map! <Esc>Oo /
map <Esc>Oj *
map! <Esc>Oj *
map <Esc>Om -
map! <Esc>Om -
map <Esc>Ok +
map! <Esc>Ok +
inoremap <Esc>Oy 9
inoremap <Esc>Ox 8
inoremap <Esc>Ow 7
inoremap <Esc>Ov 6
inoremap <Esc>Ou 5
inoremap <Esc>Ot 4
inoremap <Esc>Os 3
inoremap <Esc>Or 2
inoremap <Esc>Oq 1
inoremap <Esc>Op 0
inoremap <Esc>On .
inoremap <Esc>Oo /
inoremap <Esc>Oj *
inoremap <Esc>Om -
inoremap <Esc>Ok +
vnoremap <Esc>Oy 9
vnoremap <Esc>Ox 8
vnoremap <Esc>Ow 7
vnoremap <Esc>Ov 6
vnoremap <Esc>Ou 5
vnoremap <Esc>Ot 4
vnoremap <Esc>Os 3
vnoremap <Esc>Or 2
vnoremap <Esc>Oq 1
vnoremap <Esc>Op 0
vnoremap <Esc>On .
vnoremap <Esc>Oo /
vnoremap <Esc>Oj *
vnoremap <Esc>Om -
vnoremap <Esc>Ok +
lnoremap <Esc>Oy 9
lnoremap <Esc>Ox 8
lnoremap <Esc>Ow 7
lnoremap <Esc>Ov 6
lnoremap <Esc>Ou 5
lnoremap <Esc>Ot 4
lnoremap <Esc>Os 3
lnoremap <Esc>Or 2
lnoremap <Esc>Oq 1
lnoremap <Esc>Op 0
lnoremap <Esc>On .
lnoremap <Esc>Oo /
lnoremap <Esc>Oj *
lnoremap <Esc>Om -
lnoremap <Esc>Ok +
snoremap <Esc>Oy 9
snoremap <Esc>Ox 8
snoremap <Esc>Ow 7
snoremap <Esc>Ov 6
snoremap <Esc>Ou 5
snoremap <Esc>Ot 4
snoremap <Esc>Os 3
snoremap <Esc>Or 2
snoremap <Esc>Oq 1
snoremap <Esc>Op 0
snoremap <Esc>On .
snoremap <Esc>Oo /
snoremap <Esc>Oj *
snoremap <Esc>Om -
snoremap <Esc>Ok +
xnoremap <Esc>Oy 9
xnoremap <Esc>Ox 8
xnoremap <Esc>Ow 7
xnoremap <Esc>Ov 6
xnoremap <Esc>Ou 5
xnoremap <Esc>Ot 4
xnoremap <Esc>Os 3
xnoremap <Esc>Or 2
xnoremap <Esc>Oq 1
xnoremap <Esc>Op 0
xnoremap <Esc>On .
xnoremap <Esc>Oo /
xnoremap <Esc>Oj *
xnoremap <Esc>Om -
xnoremap <Esc>Ok +
cnoremap <Esc>Oy 9
cnoremap <Esc>Ox 8
cnoremap <Esc>Ow 7
cnoremap <Esc>Ov 6
cnoremap <Esc>Ou 5
cnoremap <Esc>Ot 4
cnoremap <Esc>Os 3
cnoremap <Esc>Or 2
cnoremap <Esc>Oq 1
cnoremap <Esc>Op 0
cnoremap <Esc>On .
cnoremap <Esc>Oo /
cnoremap <Esc>Oj *
cnoremap <Esc>Om -
cnoremap <Esc>Ok +
onoremap <Esc>Oy 9
onoremap <Esc>Ox 8
onoremap <Esc>Ow 7
onoremap <Esc>Ov 6
onoremap <Esc>Ou 5
onoremap <Esc>Ot 4
onoremap <Esc>Os 3
onoremap <Esc>Or 2
onoremap <Esc>Oq 1
onoremap <Esc>Op 0
onoremap <Esc>On .
onoremap <Esc>Oo /
onoremap <Esc>Oj *
onoremap <Esc>Om -
onoremap <Esc>Ok +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment