Search code examples
macostmuxiterm2

tmux interactive session in new tab in Iterm2


I create new sessions like tmux -CC new-session -s NAME.
Problem is that new session is opened in a new window, so the are 2 iterm2 windows. I want the session to be opened in a new tab in the same window.

Some sessions on some remote machines are open in a new tab(not window) just like i want, but i can't control it


Solution

  • I found a setting, which does this. Just go to Preferences and switch this option marked on the screenshot: enter image description here