The two registers
"+, what is the difference between them?
Maybe they are all about OS clipboard?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
"* is for
PRIMARY buffer/store/selection in X11 world and
"+ is for
There are 3 separate selections for X11 apps to use for data exchange:
Vim uses only
CLIPBOARD. You can read more in Vim's help:
You can also
set clipboard=unnamedplus, which will alias
"* register to
:h clipboard-unnamedplus, Using the clipboard as the default register)
I'm not sure how it exactly works on Windows and Mac, since there is no such separation as in Linux/X11