mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
do not shadow default keys in normal mode
It causes delay (we have to wait timeoutlen milliseconds) when we want to use the key's original command.
This commit is contained in:
parent
b7fcd4e32e
commit
441d5965a2
@ -46,8 +46,10 @@ nnoremap <silent> \d :<C-U>bprevious <bar> bdelete #<CR>
|
|||||||
|
|
||||||
" Insert a blank line below or above current line (do not move the cursor),
|
" Insert a blank line below or above current line (do not move the cursor),
|
||||||
" see https://stackoverflow.com/a/16136133/6064933
|
" see https://stackoverflow.com/a/16136133/6064933
|
||||||
nnoremap <expr> oo printf('m`%so<ESC>``', v:count1)
|
nnoremap oo :echo 'Please use <lt>M-o> instead'<CR>
|
||||||
nnoremap <expr> OO printf('m`%sO<ESC>``', v:count1)
|
nnoremap OO :echo 'Please use <lt>M-O> instead'<CR>
|
||||||
|
nnoremap <expr> <M-o> printf('m`%so<ESC>``', v:count1)
|
||||||
|
nnoremap <expr> <M-O> printf('m`%sO<ESC>``', v:count1)
|
||||||
|
|
||||||
" Insert a space after current character
|
" Insert a space after current character
|
||||||
nnoremap <Space><Space> a<Space><ESC>h
|
nnoremap <Space><Space> a<Space><ESC>h
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user