Skip to content

Instantly share code, notes, and snippets.

@despo
Created July 15, 2012 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save despo/3116883 to your computer and use it in GitHub Desktop.
Save despo/3116883 to your computer and use it in GitHub Desktop.
no arrow keys please
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
inoremap <up> <nop>
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
@markburns
Copy link


nnoremap <Left> :echoe "Use h"<CR>
nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>

@despo
Copy link
Author

despo commented Jul 16, 2012

@markburns very nice. I don't need that anymore, but I wish I had done that when I was learning :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment