infra:tmux

You are not allowed to perform this action

TMUX cheat sheet

Prefix is by default set to <ctrl>+b

shell commandtmux commanddescription
tmux new -s <session_name> creates a new tmux session named session_name
tmux attach -t <session_name> attaches to an existing tmux session named session_name
tmux switch -t <session_name> switches to an existing session named session_name
tmux list-sessions lists existing tmux sessions
tmux detachprefix + ddetach the currently attached session
shell commandtmux commanddescription
tmux split-windowprefix + “splits the window into two vertical panes
tmux split-window -hprefix + %splits the window into two horizontal panes
tmux swap-pane -[UDLR]prefix + { or }swaps pane with another in the specified direction
tmux select-pane -[UDLR]prefix + [UDLR] selects the next pane in the specified direction
tmux select-pane -t :.+ selects the next pane in numerical order
prefix + zzoom active pane to full screen





Backlinks:

  • infra/tmux.txt
  • Last modified: 20/11/2021 01:55
  • by harm