Skip to content

Commit

Permalink
Merge pull request #33 from VEBERArnaud/feat/unbind-cursor-keys-in-vim
Browse files Browse the repository at this point in the history
feat(vim): unbind cursor keys
  • Loading branch information
VEBERArnaud authored Oct 7, 2016
2 parents 9852b58 + b25cafa commit 27bd7ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
" Unbind the cursor keys in insert, normal and visual modes.
for prefix in ['i', 'n', 'v']
for key in ['<Up>', '<Down>', '<Left>', '<Right>']
exe prefix . "noremap " . key . " <Nop>"
endfor
endfor

" More natural split opening
set splitbelow
set splitright
Expand Down

0 comments on commit 27bd7ff

Please sign in to comment.