WebStorm ideaVim:使用以下命令阻止Ctrl-C进入可视块模式

时间:2019-09-05 02:47:52

标签: webstorm ideavim

按Ctrl + C将处于可视模式,如何防止这种情况。

# .ideavimrc
nnoremap <S-Left> :action EditorLeftWithSelection<CR>
nnoremap <S-Right> :action EditorRightWithSelection<CR>
nnoremap <S-Up> :action EditorUpWithSelection<CR>
nnoremap <S-Down> :action EditorDownWithSelection<CR>

inoremap <S-Left> <C-O>:action EditorLeftWithSelection<CR>
inoremap <S-Right> <C-O>:action EditorRightWithSelection<CR>
inoremap <S-Up> <C-O>:action EditorUpWithSelection<CR>
inoremap <S-Down> <C-O>:action EditorDownWithSelection<CR>
map <Home> g^ 
imap <Home> <c-o>g^ 

this article

enter image description here

0 个答案:

没有答案