Difference between revisions of "Linux: tmux"

From RHS Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
== Split Horizontal ==
 
== Split Horizontal ==
 
  [CTRL] + b + %
 
  [CTRL] + b + %
 +
 +
== Panels ([CTRL + B + ===
 +
<nowiki>%  vertical split
 +
"  horizontal split
 +
 +
o  swap panes
 +
q  show pane numbers
 +
x  kill pane
 +
+  break pane into window (e.g. to select text by mouse to copy)
 +
-  restore pane from window
 +
⍽  space - toggle between layouts
 +
<prefix> q (Show pane numbers, when the numbers show up type the key to goto that pane)
 +
<prefix> { (Move the current pane left)
 +
<prefix> } (Move the current pane right)
 +
<prefix> z toggle pane zoom</nowiki>
 +
 
== Deattach ==
 
== Deattach ==
 
  [CTRL] + b + d
 
  [CTRL] + b + d
 
== Kill ==
 
== Kill ==
 
  &  kill window
 
  &  kill window

Revision as of 12:30, 3 September 2018

tmux CheatSheet

Start tmux

tmux

Split Horizontal

[CTRL] + b + %

Panels ([CTRL + B + =

%  vertical split
"  horizontal split

o  swap panes
q  show pane numbers
x  kill pane
+  break pane into window (e.g. to select text by mouse to copy)
-  restore pane from window
⍽  space - toggle between layouts
<prefix> q (Show pane numbers, when the numbers show up type the key to goto that pane)
<prefix> { (Move the current pane left)
<prefix> } (Move the current pane right)
<prefix> z toggle pane zoom

Deattach

[CTRL] + b + d

Kill

&  kill window