Difference between revisions of "Tmux"

From rbachwiki
Jump to navigation Jump to search
 
Line 16: Line 16:
  ctrl b  [shift] % to split screen horizontal
  ctrl b  [shift] % to split screen horizontal


  ctrl b  " to split screen vertical
  ctrl b  [shift] " to split screen vertical


  ctrl b (up arrow) to go up to a split screen
  ctrl b (up arrow) to go up to a split screen

Latest revision as of 14:37, 22 June 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 b  [shift] " to split screen vertical
ctrl b (up arrow) to go up to a split screen
ctrl b (left arrow) to go left
ctrl b (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]