merlin2011 merlin2011 - 1 month ago 4x
Linux Question

Is it possible to change the default paste register in Linux?

I am trying to make it so that all normal yank and put commands will use the register

in addition to, or instead of the unnamed register.

I have already looked at this question but the solution presented there does not work on Linux. I have also looked at
:help x11-selection
:help quoteplus
, but neither contains the answer.

How can I make all
commands to behave as if they are prepended by


You would use set clipboard^=unnamedplus for the + version of unnamed.

Take a look at :help clipboard-unnamedplus