diff options
Diffstat (limited to 'plugin/rebinds.vim')
| -rw-r--r-- | plugin/rebinds.vim | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/plugin/rebinds.vim b/plugin/rebinds.vim index cacef62..9874d13 100644 --- a/plugin/rebinds.vim +++ b/plugin/rebinds.vim @@ -1,8 +1,27 @@ -" Keep the newbs from using arrow keys -inoremap <Left> <NOP> -inoremap <Right> <NOP> -inoremap <Up> <NOP> -inoremap <Down> <NOP> +" Remove newbie crutches in Command Mode +cnoremap <Down> <Nop> +cnoremap <Left> <Nop> +cnoremap <Right> <Nop> +cnoremap <Up> <Nop> + +" Remove newbie crutches in Insert Mode +inoremap <Down> <Nop> +inoremap <Left> <Nop> +inoremap <Right> <Nop> +inoremap <Up> <Nop> + +" Remove newbie crutches in Normal Mode +nnoremap <Down> <Nop> +nnoremap <Left> <Nop> +nnoremap <Right> <Nop> +nnoremap <Up> <Nop> + +" Remove newbie crutches in Visual Mode +vnoremap <Down> <Nop> +vnoremap <Left> <Nop> +vnoremap <Right> <Nop> +vnoremap <Up> <Nop> + " map <C-n> :Lex<CR> map <C-n> :NERDTreeToggle<CR> |
