[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tmux replacement or integration with Emacs.
From: |
Jean Louis |
Subject: |
Re: Tmux replacement or integration with Emacs. |
Date: |
Wed, 3 Feb 2021 07:09:20 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* moasenwood--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-02-01 19:44]:
> Jean Louis wrote:
>
> >> No doubt, as tmux is a terminal multiplexer and Emacs is an,
> >> uhm, text editor. tmux is still great to have around. It feels
> >> like everyone uses tmux these days. And so do I.
> >
> > Emacs is replaceable with `screen' and `tmux' in the
> > functional sense. Maybe Emacs does not have best terminal
> > emulation, but practically users can run multiple shell
> > sessions and Terminal within one Emacs daemon, they may sign
> > off and log in again with sessions remaining intact.
>
> Yeah, but do you manage to navigate between them in a way that
> don't get too complicated and you end up like lost in Emacs?
I switch to buffers to avoid end up being lost. It may be that same
operation causes the feeling of being lost. But I got used to it.
In Emacs X Window Manager EXWM I will often use workspace 1 for email,
3 for Internet browser, maybe 5 for graphics, shell is on workspace 9
and so on. In `screen' I will also sometimes designate screen numbers
and remember them by its operation.
When I really wish to remember a file, I put it in the register or
bookmark. Like {C-x r j s} holds important file for me. I don't know
why I like "jump to register" sometimes more than a simple bookmark.
Maybe because I learned how to set it:
(set-register ?s '(file . "~/Documents/Org/my-file.org"))
I even have some other hard to decipher settings to jump to register:
(set-register ?S #s(kmacro-register [134217848 115 104 101 108 108 return]))
;; M-x shell
(set-register ?e #s(kmacro-register [134217848 101 115 104 101 108 108
return])) ;; M-x eshell
(set-register ?p #s(kmacro-register [134217848 115 113 108 45 112 111 115 tab
return])) ;; sql-postgres
Of course when use learns few needed buffers and key bindings that is
how one does not get lost.
Jean
Re: Tmux replacement or integration with Emacs., Emanuel Berg, 2021/02/01
Re: Tmux replacement or integration with Emacs., Emanuel Berg, 2021/02/01