nix/nvim: disable ex-mode

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-23 15:25:49 +03:00
parent 0fd5f7ec0f
commit d1a8d82405
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -78,6 +78,10 @@ nnoremap <C-l> <C-W>l
nnoremap <C-j> <C-W>j nnoremap <C-j> <C-W>j
nnoremap <C-k> <C-W>k nnoremap <C-k> <C-W>k
" Disable the annoying and useless ex-mode
nnoremap Q <nop>
nnoremap gQ <nop>
" Disable arrow keys and page up / down " Disable arrow keys and page up / down
noremap <Up> <nop> noremap <Up> <nop>
noremap <Down> <nop> noremap <Down> <nop>