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:
@@ -10,15 +10,6 @@ packadd! vim-gitgutter
|
|||||||
" Keybinds #####################################################################
|
" Keybinds #####################################################################
|
||||||
" Set leader key
|
" Set leader key
|
||||||
let mapleader = "\<Space>"
|
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
|
" Stop highlighting search result when pressing Return
|
||||||
nnoremap <silent> <CR> :nohlsearch<CR><CR>
|
nnoremap <silent> <CR> :nohlsearch<CR><CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user