Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Posted by Aaron Gibralter on Super User See other posts from Super User or by Aaron Gibralter
Published on 2014-08-19T04:08:19Z Indexed on 2014/08/19 4:24 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and:

  • have that text be available in my tmux clipboard?
  • have that text available in my osx clipboard?

I know how to copy/paste in tmux and iterm2 seems to handle passing that onto my osx clipboard. However there are times when I want to yank text in a vim split screen and the tmux copy/paste won't do. Anyone figured this out?

Thanks so much!

© Super User or respective owner

Related posts about osx

Related posts about ssh