disable arrow keys

This commit is contained in:
Jidbo 2019-01-23 17:33:12 +01:00
parent 98dfe49cf6
commit 9437ae2bc6

6
.vimrc
View file

@ -123,6 +123,12 @@ set foldlevel=99
" remap code folding " remap code folding
nnoremap <leader>g za nnoremap <leader>g za
" disable arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
" html css js indents " html css js indents
au BufNewFile,BufRead *.js, *.html, *.css au BufNewFile,BufRead *.js, *.html, *.css
\ set tabstop=4 | \ set tabstop=4 |