문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top