Skip to content

Instantly share code, notes, and snippets.

@ErykDarnowski
Last active April 30, 2023 11:01
Show Gist options
  • Save ErykDarnowski/c8ca41dd5e5affe9b1e08950aa1e9caf to your computer and use it in GitHub Desktop.
Save ErykDarnowski/c8ca41dd5e5affe9b1e08950aa1e9caf to your computer and use it in GitHub Desktop.
How to fix Vim / Neovim not copying to system clipboard

How to fix Vim / Neovim not copying to system clipboard

If you can't copy text from Vim / Neovim to your system's clipboard, for instance when using the "+y shortcut (I've encountered this issue when testing out Fedora + KDE + Wayland).

Try installing the wl-clipboard package, like so:

sudo dnf install wl-clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment