zsh-users
 help / color / mirror / code / Atom feed
From: Steve Dondley <s@dondley.com>
To: zzapper <zsh@rayninfo.co.uk>
Cc: zsh-users@zsh.org
Subject: Re: zsh : launch tmux in just one terminal
Date: Fri, 01 Oct 2021 16:53:53 -0400	[thread overview]
Message-ID: <5e8d6535baafeaf936187da16e50cb53@dondley.com> (raw)
In-Reply-To: <b14221b4-115f-e5cc-36e3-48a51c428210@rayninfo.co.uk>

On 2021-10-01 04:34 PM, zzapper wrote:
> On 01/10/2021 21:16, Ray Andrews wrote:
>> On 2021-10-01 10:43 a.m., Bart Schaefer wrote:
>>> 
>>> Just make it:  pgrep -u $USER tmux
>>> 
>> If it's not too far off topic, what's the advantage of tmux over just 
>> a whole bunch of xterms?

One huge advantage is the ability to switch very quickly between 
different terminals. This is great when you have a lot of vim terminals 
open when you are doing development work. You can also group the 
different terminals into windows and the windows into sessions, offering 
an insane amount of organization. Organizing let's say 50 different 
shells is a breeze.

It's especially useful when you ssh into another machine. You run a tmux 
session on the remote machine. If you get disconnected or power your 
local machine down, you can log back in and be right back where you 
were. This can also be done locally with a plugin, tmux resurrect. So if 
your computer goes down, your terminals will be right there when you 
fire up tmux so you can jump back into working.

There's many more advantages, but these are the big ones.



  reply	other threads:[~2021-10-01 20:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 10:47 zzapper
2021-10-01 13:25 ` Marc Chantreux
2021-10-01 13:30 ` Steve Dondley
2021-10-01 16:54 ` zzapper
2021-10-01 17:19   ` Michael Klemm
2021-10-01 17:43     ` Bart Schaefer
2021-10-01 20:16       ` Ray Andrews
2021-10-01 20:34         ` zzapper
2021-10-01 20:53           ` Steve Dondley [this message]
2021-10-01 23:06             ` Ray Andrews
2021-10-02  4:52               ` Steve Dondley
2021-10-02 14:40                 ` Ray Andrews
2021-10-02 16:04                   ` Steve Dondley
2021-10-02 19:09                     ` Ray Andrews
2021-10-01 23:03           ` Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e8d6535baafeaf936187da16e50cb53@dondley.com \
    --to=s@dondley.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@rayninfo.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).