this post was submitted on 09 Nov 2023
1 points (100.0% liked)

Emacs

305 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Hi there,

I recently saw that emacs can replace tmux, but I haven't found complete information about it.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

ssh remote_machine

# create a new screen session

screen -S multibuffer

emacs # console mode aka -nw

# do all the screen splits needed

# m-x shell to start any number of shells

# CTRL-D to disconnect

# leave machine

exit

# decide to go back

ssh remote_machine

# reconnect to existing shell

screen -r multibuffer

# tada! your shells are back