My Vim is installed with
+clipboard support, and all works just fine.
I know that the clipboard comes with X, so there isn't such a thing in a virtual console (or, at least, this is what I've understood), but...
By pure curiosity, I've just opened Vim in a virtual console (one of those you can get to via Ctrl+Alt+Fn for n generally from 1 to 5, iirc, as 7 is likely where you are running your desktop env) and verified that yanking stuff into the
+ register is also automatically stored in the
* register, and viceversa, because whatever I yank into one, then putting from either of them results in that text. To give an example, given the text
and the cursor being on the first line, hitting "+yyj"*yy"*p"+p results in
one two two two
and the same happens even if I invert the first + and the first *.
:registers doesn't actually list any of the two.
To give some gratuitous context which could incidentally help you understand the reason of my question, is that I noticed the
* registes don't work in freshly installed Archlinux system where I've installed Vim with
+clipboard support and to which I connect via
ssh. I have eventually remembered that for the
+clipboard to be useful and working across SSH, one has to connect via
ssh -X (or even
ssh -Y). But apparently that is not enough on this new system I'm referring to. I've asked a question on Unix.StackExchange as well.
:displayshows the contents of
0registers to be what I copied into
"is basically a pointer to the most recently used register, so that's normal.