Hi On Mon, May 04, 2020 at 10:33:44AM -0700, Kaushal Shriyan wrote: > Hi, > I am runningA Iterm2 Build 3.3.9 on Mac OS (System Version: macOS 10.15.4 > (19E287)A Kernel Version: Darwin 19.4.0). I am new to tmux.A What are > the benefits of using tmux in iterm2? Any examples to understand it > better.
If you are already using a feature-rich terminal like iTerm2, then whether you want many of tmux's features depends really on personal preference and whether you prefer the tmux or iTerm2 (or GUI, or Apple) way of doing things. I like iTerm2, and there is no particularly compelling reason to use tmux as well as or instead of iTerm2 if all you want to do is log in to your one computer at its physical keyboard (not over a network) and have tabs and splits and searching in your terminal. A few things that tmux offers on top of iTerm2 are: - tmux is more portable, it also works on Linux, *BSD, Cygwin in broadly the same way. - tmux runs inside any terminal and does not require a GUI. So if you want to connect your computer with ssh, you can do that and have essentially the same features available. - tmux is probably easier to script, but how much you use that will depend. - tmux is easier to integrate with other terminal applications like vim, if you prefer to use them in a terminal rather than the GUI versions. - tmux does not exit when you log out, everything inside stays running. This is not particularly useful on a single computer, but if you have tmux running on remote servers it is very useful. These might not sound like much but for many people (like me) who do most of their work on remote computers, it is useful to have a single, powerful interface (tmux). So the real answer is, the benefits depend on what you do with the terminal and what you want... -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/20200505085001.u6uovkdknrz6ht4p%40yelena.
