Tmux

From rbachwiki
Revision as of 20:23, 9 May 2022 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Using Tmux

apt install tmux on the server

when you ssh in to the server just type

tmux to start

Shortcut keys

ctrl b then c to open another window

ctrl b then prefix at the bottom of the window to switch between windows
ctrl b , (comma) to rename a window
ctrl b w brings up the window tree
ctrl b  [shift] % to split screen horizontal
ctrl " to split screen vertical
ctrl (up arrow) to go up to a split screen
ctrl (left arrow) to go left
ctrl (right arrow) to go right
ctrl b o to cycle between panes
ctrl b z zooms in on a pane the repeat to zoom out
ctrl b x to close the pane

Resize Panes

ctrl b ctrl [down arrow] [left] [right]