Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmux [2021-02-27] dcaicli:tmux [2022-01-06] (current) dcai
Line 1: Line 1:
-===== tmux =====+===== tmux cheatsheet =====
 == copy and paste == == copy and paste ==
   * ''<prefix> ['': start copy   * ''<prefix> ['': start copy
   * use ''h j k l'' to move   * use ''h j k l'' to move
-  * use ''V'' to start select +  * use ''V'' or ''v'' to start select 
-  * ''Enter'' to copy+  * use ''r'' to toggle rectangle selection 
 +  * ''Enter'' or ''y'' to copy
   * ''<prefix ]'': paste   * ''<prefix ]'': paste
-== split window ==+ 
 +== paste buffer == 
 +  * use ''capture-pane'' command to copy 
 +  * use ''<prefix> ]'' to paste 
 + 
 +== window == 
 +  * ''<prefix> w'': choose from list 
 +  * ''<prefix> f'': search for window
   * ''%'': split side by side   * ''%'': split side by side
   * ''"'': up and down    * ''"'': up and down 
 +
 +== pane ==
 +  * ''<prefix> z'': zoom and unzoom pane
 +  * ''<prefix> h'': expanse to left by 88
 +  * ''<prefix> l'': expanse to right by 88
 +  * ''<prefix> o'': last pane
 +
 +== switch session ==
 +  * ''<prefix> ('': prev session
 +  * ''<prefix> )'': next session
 +  * ''<prefix> L'': last session
 +  * ''<prefix> s'': choose session
  
 == Choosing a prefix == == Choosing a prefix ==
Line 25: Line 45:
  
 == layouts == == layouts ==
-available layouts, switch layouts with ''<prefix> [space]'':+[[https://leanpub.com/the-tao-of-tmux/read#window-layouts|available layouts]], switch layouts with ''<prefix> [space]'':
  
 {{:cli:tmux-layouts.png?400|}} {{:cli:tmux-layouts.png?400|}}
cli/tmux.1614408272.txt.gz · Last modified: by dcai