0

I tried yank to clipboard from vim. But it does not do it.
I've attempted with "+y (also, I tried "*y)after select copy area in Visual Mode. But does not paste copied content when I Ctrl-Shift-V typed on terminal.

Why it does not paste in terminal despite I yanked to special register? clipboard and xterm_clipboard features are enabled in my vim.

I using

  • Vim 8.1 patch 1-320
  • Ubuntu 19.04
  • Virtualbox 6.0.12
KiYugadgeter
  • 3,796
  • 7
  • 34
  • 74
  • 3
    StackOverflow is dedicated to helping solve programming code problems. Your Q seems more appropriate to https://superuser.com OR https://vim.stackexchange.com , but read their help section regarding on-topic questions . AND please read [Help On-topic](https://stackoverflow.com/Help/On-topic) and [Help How-to-ask](https://stackoverflow.com/Help/How-to-ask) before posting more Qs here. Good luck. – shellter Sep 30 '19 at 15:24
  • Do you run XWindows? Is `vim` compiled with X11 libraries (+X11)? – phd Sep 30 '19 at 15:24
  • Yes X11 is enabled in my Vim – KiYugadgeter Sep 30 '19 at 15:27
  • I have the same problem. I don't know if it helps, but using synaptics, the problem seemed to disappear, but using libinput, problem appears. – Tom Mar 30 '20 at 12:13

1 Answers1

0

Ubuntu has 2 clipboards. From this answer, using "*yy or "+yy (one or the other) should yank text to and from your ctrl+c / ctrl+v clipboard. (This works on X11 systems, which you have, according to the comments.)

Also see these.

Nick Reed
  • 4,989
  • 4
  • 17
  • 37