tmux

#ToResearch #Knowledge #coding

tmux perserves a terminal session, making it useful when remotely accessing machines, especially with sessions that might drop

Concepts:

session
pane like a window
window like a tab
buffer like a clipboard(?)

Commands:

tmux new [-s $title] // create new session
tmux a [-t $title] // attach this terminal to session
tmux list-sessions // show active sessions w/ details

tmux Internal Commands:

ctrl b // tmux command mode {prefix}
ctrl b + $ // rename active session
ctrl b + , // command mode, rename active window
ctrl b + : // command mode, labeled command

https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/tmux.md

Workflows

Save terminal output to file

Use Windows

Use Panes

copy mode

Powered by Forestry.md