VIM Ctrl-V Conflict with Windows Paste

前端 未结 8 1713
忘了有多久
忘了有多久 2020-12-12 11:27

I am using VIM in Windows. The problem is that I want to use CtrlV as a visual mode. However, this key has conflict with Windows paste. How can I reset

8条回答
  •  悲哀的现实
    2020-12-12 12:20

    I prefer the same keystrokes everywhere so I use this in my .vimrc to override mswin.vim:

    if has('win32')
      " Avoid mswin.vim making Ctrl-v act as paste
      noremap  
    endif
    

提交回复
热议问题