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-23] – ↷ Page moved from linux:tmux to cli:tmux dcaicli:tmux [2022-01-06] (current) dcai
Line 1: Line 1:
-===== tmux =====+===== tmux cheatsheet ===== 
 +== copy and paste == 
 +  * ''<prefix> ['': start copy 
 +  * use ''h j k l'' to move 
 +  * use ''V'' or ''v'' to start select 
 +  * use ''r'' to toggle rectangle selection 
 +  * ''Enter'' or ''y'' to copy 
 +  * ''<prefix ]'': paste
  
 +== 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
 +  * ''"'': 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 16: Line 43:
   * c-\   * c-\
   * c-`   * c-`
 +
 +== layouts ==
 +[[https://leanpub.com/the-tao-of-tmux/read#window-layouts|available layouts]], switch layouts with ''<prefix> [space]'':
 +
 +{{:cli:tmux-layouts.png?400|}}
cli/tmux.1614041355.txt.gz · Last modified: by dcai