Skip to content

clipboard+=unnamed does not affect paste #7822

@jlittlenz

Description

@jlittlenz

The default (for X) "exclude:cons|linux" phrase in the 'clipboard' option stops the "unnamed" phrase from affecting paste with 'p':

  1. Run vim --clean
  2. Type three lines:
    alfa
    bravo
    charlie
  3. On the first line, type "*yy
  4. On the third, type yy
  5. :set clipboard+=unnamed
  6. Type p - "charlie" is pasted, "alfa" was expected
  7. :set clipboard=autoselect,unnamed,exclude:cons\|linux
  8. Type 'p - "alfa" is pasted, correctly

vim version 8.2.2466, Ubuntu 20.10, xterm and konsole.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions