Permalink
Browse files

Disable arrow keys. Navigate properly!

  • Loading branch information...
nburkley committed Apr 22, 2015
1 parent fd47944 commit 65180005e1f43671bd38253a9c85e038c385fbee
Showing with 6 additions and 0 deletions.
  1. +6 −0 vimrc
6 vimrc
@@ -16,6 +16,12 @@ set noswapfile
" Reload files if changed outside vim
set autoread

" Get off my lawn
noremap <Left> :echoe "Use h"<CR>
nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if (&t_Co > 2 || has("gui_running")) && !exists("syntax_on")

0 comments on commit 6518000

Please sign in to comment.