Created
August 13, 2016 11:32
-
-
Save burningTyger/35b33cf6e0047f120c85333b416b1690 to your computer and use it in GitHub Desktop.
Getting system clipboard access in vim in tmux in ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
OMG. This one is a lifesaver. Thankssss!