Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Getting system clipboard access in vim in tmux in ssh
If you'd like to use `"*y` and `"*p` in neovim you have to make sure it works across the stack.
These steps are necessary:
* Have xsel installed
* enable `X11Forward` in your remote sshd.conf
* disable `X11Localhost` in the same file
Then restart your ssh connction with the -Y flag and make sure to restart tmux otherwise you might get errors because $DISPLAY might not yet be set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.