Hacker News new | ask | show | jobs
by jrmann100 1032 days ago
iTerm2 actually has a pretty well-designed tmux integration[0].

Overview from the guide:

  When you run "tmux -CC", a new tmux session is created. An iTerm2 window opens and it acts like a normal iTerm2 window. The difference is that when iTerm2 quits or the ssh session is lost, tmux keeps running. You can return to the host you were ssh'ed into and run "tmux -CC attach" and the iTerm2 windows will reopen in the same state they were in before.
It works with multiple panes, windows, etc. Worth trying out!

0: https://iterm2.com/documentation-tmux-integration.html