I am searching for an option to always paste to the system clipboard when using any kind of yank action, because I want to use Vim as the scrollback buffer for Kitty.

I have already tried


but it doesn't work.

  • Do you mean copy into the system clipboard? Commented Mar 8, 2022 at 12:21
  • @VivianDeSmedt Yes
    – neolith
    Commented Mar 8, 2022 at 12:22
  • 2
    :set clipboard=unnamed or unnamedplus should work. Does your vim include +clipboard in the output of :version? Commented Mar 8, 2022 at 13:26
  • @ChristianBrabandt unnamedplus works. This should be added to the documentation. Thanks.
    – neolith
    Commented Mar 9, 2022 at 7:11
  • @neolith it is already in the documentation. Please feel free to come up with a doc PR if something is unclear. Commented Mar 9, 2022 at 9:46

1 Answer 1


So the question was answered by @christian-brabandt. I had to use unnamedplus.

Not the answer you're looking for? Browse other questions tagged or ask your own question.