Question

I got tmuxinator to work with iTerm2 the following: https://stackoverflow.com/a/19747819/1009332

However, each tab initially opens in a different window. Is there any way to attach to an existing tmux session using tabs rather than new windows?

There's some more info about this cool feature here: https://code.google.com/p/iterm2/wiki/TmuxIntegration

My motivation for this was: 1. copy/paste/find locks the process in tmux, whereas with iterm2, you can find in a tail of logs and not lock the process. 2. key bindings are simpler in iTerm2. 3. I like tmuxinator to start many shell windows (tabs) when doing rails web development, so that my stdout of different processes goes to different windows, rather than mixing together when using foreman.

Était-ce utile?

La solution

It is an option in iTerm2: Preferences > general Open tmux windows as native tabs in a new window, but you have to disconnect then reconnect.

iterm2-windows-as-tabs

Solution found here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top