Re-enable arrow keys in vim

I'm comfortable with hjkl now and thus this is not useful anymore since
it also disables them in command mode where I actually need them from
time to time.
This commit is contained in:
2020-09-13 17:35:19 +02:00
parent 1b783875ba
commit d6b3ebbe7d

View File

@@ -10,15 +10,6 @@ packadd! vim-gitgutter
" Keybinds #####################################################################
" Set leader key
let mapleader = "\<Space>"
" Disable arrow keys
noremap <Up> ""
noremap! <Up> <Esc>
noremap <Down> ""
noremap! <Down> <Esc>
noremap <Left> ""
noremap! <Left> <Esc>
noremap <Right> ""
noremap! <Right> <Esc>
" Stop highlighting search result when pressing Return
nnoremap <silent> <CR> :nohlsearch<CR><CR>