The default (for X) "exclude:cons|linux" phrase in the 'clipboard' option stops the "unnamed" phrase from affecting paste with 'p':
- Run
vim --clean
- Type three lines:
alfa
bravo
charlie
- On the first line, type
"*yy
- On the third, type
yy
:set clipboard+=unnamed
- Type
p - "charlie" is pasted, "alfa" was expected
:set clipboard=autoselect,unnamed,exclude:cons\|linux
- Type '
p - "alfa" is pasted, correctly
vim version 8.2.2466, Ubuntu 20.10, xterm and konsole.
The default (for X) "exclude:cons|linux" phrase in the 'clipboard' option stops the "unnamed" phrase from affecting paste with 'p':
vim --cleanalfa
bravo
charlie
"*yyyy:set clipboard+=unnamedp- "charlie" is pasted, "alfa" was expected:set clipboard=autoselect,unnamed,exclude:cons\|linuxp- "alfa" is pasted, correctlyvim version 8.2.2466, Ubuntu 20.10, xterm and konsole.