Use clipboard^=unnamed instead of clipboard=unnamedplus
Closed this issue · 5 comments
I honestly have no idea if that's a long standing bug (never worked in 5+ years) or if it's supposed to behave like it does but set clipboard=unnamedplus
doesn't work on Mac OS X.
You should suggest unnamed
instead as it works perfectly.
Also, set clipboard=something
is not portable at all. The default value on Linux (autoselect,exclude:cons\|linux
) should not be carelessly overridden with =something
or have any other value appended to it with +=something
.
The most portable value is thus:
set clipboard^=unnamed
-
clipboard=unnamedplus
works for me. (Tested with 7.4.1051 in iTerm2 and Terminal.app.) Nevertheless I'll rewrite it to suggest using"*
in all cases but Unix, where"+
should be used for clipboard. -
You're totally right about using
^=
instead.
How do you like the latest version? https://github.com/mhinz/vim-galore#clipboard
All good!
Thanks for your feedback, romainl!
You are very welcome ;-)