I am on Ubuntu 14.04.3 and Vim 8.2. I'm trying to figure out how to access either the * or + clipboard on Ubuntu but it seems like it doesn't exist? After doing "*yy and "+yy on lines of text, here is what it shows:
:reg + *
Type Name Content
[empty]
Neither + or * exists in there. It seems like it's set to use the unnamedplus register:
:echom has('unnamedplus')
" 1
:echom has('unnamed')
" 0
Then I try doing (again):
:set clipboard=unnamedplus
And doing "+yy again, but still nothing shows up in the register. Is there no 'system clipboard' on ubuntu (accessible by vim), or if so, how can I get that to work?
Also, I've verified my vim is compiled with both clipboard-related options:
+xterm_clipboard
+clipboard
+X11
+X11? – Ralf Jul 01 '20 at 05:36ssh -Yorssh -Xfor that to work reliable (or the ForwardX11 config option set or whatever it is called). Then you probably also need to be run a local X11 server on your mac (I don't know Mac so this might be wrong). There are probably already questions about this, please search – Christian Brabandt Jul 01 '20 at 07:05