Iterm2 also has a nice tmux integration. You can connect to a session but use native tabs and panes. It even works on remote servers over ssh. You just add a '-CC' arg. (You may also have to enable it in the prefs, don't remember for sure)
Re:Using Vim as a Python IDE
by rajathagasthya on Wednesday February 01, 2017 @12:49AM
(#13538595)
This is what I usually do to connect to a remote server and enter a tmux session:
ssh hostname -t "tmux -CC attach || tmux -CC"
Of course, I picked this up from an HN comment :)I've never been able to get iTerm2's tmux integration to work well enough to warrant the bother.
In fact I use byobu instead of plain tmux.
I use a macbook pro with iterm2, and I prefer to use a terminal multiplexer instead of tabs or the native screen split of iterm2.
If you ssh remote boxes a lot, it is very useful because you will not lose your session in case of an occasional disconnection.