mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-05 00:48:45 +00:00
Disable arrow keys in insert mode
This commit is contained in:
@@ -54,10 +54,10 @@ nnoremap <Leader>sv :source $MYVIMRC<cr>
|
||||
set langmap+=чявертъуиопшщасдфгхйклзьцжбнмЧЯВЕРТЪУИОПШЩАСДФГХЙКЛЗѝЦЖБНМ;`qwertyuiop[]asdfghjklzxcvbnm~QWERTYUIOP{}ASDFGHJKLZXCVBNM,ю\\,Ю\|,
|
||||
|
||||
" Disable some keys
|
||||
noremap <Left> <Nop>
|
||||
noremap <Right> <Nop>
|
||||
noremap <Up> <Nop>
|
||||
noremap <Down> <Nop>
|
||||
inoremap <Left> <Nop>
|
||||
inoremap <Right> <Nop>
|
||||
inoremap <Up> <Nop>
|
||||
inoremap <Down> <Nop>
|
||||
|
||||
" Move lines up/down
|
||||
nnoremap <C-Down> :m .+1<CR>==
|
||||
|
||||
Reference in New Issue
Block a user