1
I'm using zsh, tmux, and Vim and for some reasons recently, I've noticed I cannot copy from Vim to X clipboard under tmux using "+y. Any idea how I can troubleshoot this issue? It used to work before.
1
I'm using zsh, tmux, and Vim and for some reasons recently, I've noticed I cannot copy from Vim to X clipboard under tmux using "+y. Any idea how I can troubleshoot this issue? It used to work before.
1
It returns 1. I think the problem is with tmux, using the wrong $DISPLAY env. I think I got this error, after I logged to my machine from my laptop using SSH. Here's more info on it: unix.stackexchange.com/questions/75681/… When I create a new tmux client, I can copy from Vim to clipboard, but I still can't get my detached client working, yet.
This is fixed by patches 7.4.523 and 7.4.558 – Christian Brabandt – 2014-12-28T21:48:57.073
What is the output of
:echo has('clipboard')
? – romainl – 2014-10-31T23:32:04.0831
It returns 1. I think the problem is with tmux, using the wrong $DISPLAY env. I think I got this error, after I logged to my machine from my laptop using SSH. Here's more info on it: http://unix.stackexchange.com/questions/75681/why-do-i-have-to-re-set-env-vars-in-tmux-when-i-re-attach
When I create a new tmux client, I can copy from Vim to clipboard, but I still can't get my detached client working, yet.
1@mohi666 You should add that as an answer. – Kazark – 2014-11-07T20:47:23.240