Vim (terminal) - copy to x clipboard and paste while suspeneded

Posted by gmatt on Stack Overflow See other posts from Stack Overflow or by gmatt
Published on 2010-05-13T23:53:24Z Indexed on 2010/05/14 0:44 UTC
Read the original article Hit count: 246

I have vimx installed, so I can copy in vimx to the x clipboard by using "+y and the like, which works well as long as I can keep the current vimx running.

However, I also love to be able to switch to the current running shell with ctrl-z and be able to paste what I copied from vim into the shell. Does anyone know how to do this, because as soon as I suspend vim with ctr-z the x-clipboard becomes empty, until I put vim into the fg again.

© Stack Overflow or respective owner

Related posts about vim

Related posts about not-programming-related