Difference between revisions of "Tmux"

From rbachwiki
Jump to navigation Jump to search
Line 13: Line 13:


  ctrl b w brings up the window tree
  ctrl b w brings up the window tree
 
  ctrl b  [shift] % to split screen horizontal
  ctrl b  [shift] % to split screen horizontal


Line 23: Line 23:


  ctrl (right arrow) to go right
  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]

Revision as of 20:23, 9 May 2022

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]