ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

<C-v> mapping to open in vertical split not working #576

Closed apchirinoc closed 2 years ago

apchirinoc commented 2 years ago

When I press <C-p> in normal mode and open the file browser, I then press <C-v> to open the current cursor file vertically, but it doesn't open. It shows this error message:

E21: Cannot make changes, 'modifiable' is off

I'm running Vim 8.1 on WSL2. How could I make it work? Thanks beforehand

apchirinoc commented 2 years ago

The problem was related to a Windows Terminal option that was using the <c-v> mapping to paste text (as it is used usually in Windows). Removing that option from the settings.json of Windows Terminal solved the problem.