diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-11 23:21:08 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-11 23:21:08 +0800 |
| commit | 64bcc851939deddb875805b2791cbcf8f7b2dbcc (patch) | |
| tree | dd0e634be617cdfeec073f332d6911393ca3086e /core | |
| parent | e09bfca274a38613ecabfce504adcf55bd9b616a (diff) | |
update mapping
Diffstat (limited to 'core')
| -rw-r--r-- | core/mappings.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/mappings.vim b/core/mappings.vim index c6362c4..7482544 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -46,10 +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), " see https://stackoverflow.com/a/16136133/6064933 -nnoremap oo :echo 'Please use <lt>M-o> instead'<CR> -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) +nnoremap oo :echo 'Please use <lt>space>o instead'<CR> +nnoremap OO :echo 'Please use <lt>space>O instead'<CR> +nnoremap <expr> <Space>o printf('m`%so<ESC>``', v:count1) +nnoremap <expr> <Space>O printf('m`%sO<ESC>``', v:count1) " Insert a space after current character nnoremap <Space><Space> a<Space><ESC>h |
