Browse Source

Disable arrowkeys

pull/4/head
Ein Verne 6 years ago
parent
commit
e99c84869e
No known key found for this signature in database
GPG Key ID: F80B65F734D9DD7D
  1. 8
      .vim/startup/map_vimrc

8
.vim/startup/map_vimrc

@ -3,6 +3,8 @@
" Treat long lines as break lines (useful when moving around in them)
map j gj
map k gk
nnoremap j gj
nnoremap k gk
" fast saving
nmap <leader>w :w!<cr>
@ -22,6 +24,12 @@ map <leader>tn :tabnew<cr>
map <leader>to :tabonly<cr>
map <leader>tc :tabclose<cr>
" Disable arrowkeys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
" visual mode copy and paste to system clipboard
"vmap <C-c> "+y
"vmap <C-x> "+c

Loading…
Cancel
Save