VIM Ctrl-V Conflict with Windows Paste

David.Chu.ca picture David.Chu.ca · Jan 9, 2009 · Viewed 67.8k times · Source

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 this key back to VIM visual mode instead of pasting. I prefer to set this in my _vimrc configuration file.

Answer

Alex picture Alex · Jan 9, 2009

From the VIM documentation:

Since CTRLV is used to paste, you can't use it to start a blockwise Visual selection. You can use CTRLQ instead. You can also use CTRLQ in Insert mode and Command-line mode to get the old meaning of CTRLV. But CTRLQ doesn't work for terminals when it's used for control flow.