Hacker News new | past | comments | ask | show | jobs | submit login

I use a macOS laptop with iTerm2 to connect to a remote tmux server running on Linux, and the iTerm2-tmux integration [0] is pretty great if you like multiple panes per window. I don’t have to mess with mouse mode for straightforward pane resizing, buffer scrolling, or copy/paste text in the buffer. I recommend taking a look if you’re typing on a Mac.

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




I never learned the "real" tmux and always using `tmux -CC` and `tmux -CC attach` on a iterm. Anything else you do differently in your workflow?


Use it with autossh for automatically reconnecting during computer standby / internet drops. I used to use Mosh + TMux for super durable connections and that worked beautifully. Unfortunately Mosh doesn't play well with ITerm's native integration so you can achieve a poor man's Mosh by using http://www.harding.motd.ca/autossh/.

All-together it looks something like this: Open iTerm. autossh -t myRemoteHost "tmux -CC -A"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: