vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.85k stars 69 forks source link

Copy paste in command mode not working #157

Closed kernel-panic96 closed 3 years ago

kernel-panic96 commented 3 years ago

I'm unable to paste with C-v or C-V, mainly in command mode but other modes too, e.g. insert. I'm running linux, ubuntu 20.04 currently. The normal mode copy & paste works when I set clipboard=unnamedplus

vhakulinen commented 3 years ago

What ever works on nvim should work just fine in gnvim (e.g. the normal commands to yank and paste).

kernel-panic96 commented 3 years ago

Copy and paste is handled by the terminal emulator

vhakulinen commented 3 years ago

See :h clipboard and maybe check this out: https://vi.stackexchange.com/questions/84/how-can-i-copy-text-to-the-system-clipboard-from-vim

kernel-panic96 commented 3 years ago

I am able to paste with <C-R>+ in command mode. Ideally I would like C-V to work but since there is a way, I'm fine if you wish to close the issue.

vhakulinen commented 3 years ago

You can map that with :cnoremap <c-v> <c-r>+.