The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


cheat_sheets_tmux

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
cheat_sheets_tmux [2022/09/25 15:56] gmancheat_sheets_tmux [2024/01/20 16:28] (current) gman
Line 1: Line 1:
 ====== tmux ====== ====== tmux ======
  
-{{::tmux.png?linkonly| Cheet Sheet}} +**Cheet Sheets:**  
 +{{::tmux.png?linkonly | color}}, {{:tmux-printer.png?linkonly | black & white}}, {{ ::tmux-printer.pdf | printable}}
  
 ===== Sessions ===== ===== Sessions =====
Line 82: Line 82:
  
 ===== Copy ===== ===== Copy =====
 +
 +**__Resource__:** [[https://www.rushiagr.com/blog/2016/06/16/everything-you-need-to-know-about-tmux-copy-pasting-ubuntu/ | Everything you need to know about tmux copy]]
 +
 +**To copy outside tmux:** You should be able to highlight with your mouse (shift + left-mouse-button). Once highlighted, go to the program where you want to paste and click the middle-mouse-button.
 +  * If that doesn't work (sometimes it does... sometimes it doesn't... and that drives me nuts!)...
 +  * **Shift + Left-Mouse-Button:** This highlights the text you want to copy. Then just go to the window/program into which you want to paste and middle-mouse-button to paste (i.e., Linux default behavior).
 +
 +**To copy inside tmux:** See the following...
  
 **Key Bindings:** **Key Bindings:**
Line 91: Line 99:
 **Copy Mode Commands:** **Copy Mode Commands:**
  
-^ Command             ^ Description        ^ +^ Command                  ^ Description        ^ 
-| ''Ctrl-[spacebar]'' | start selection    | +| ''Ctrl-[spacebar]''      | start selection    | 
-| ''Ctrl-[enter]''    | copy selection     | +| ''Ctrl-w'' or ''Alt-w''  | copy selection     | 
-| ''Ctrl-[Esc]''      | clear selection    | +| ''Ctrl-[Esc]''           | clear selection    | 
-| ''Ctrl-g''          | go to top          | +| ''Ctrl-g''               | go to top          | 
-| ''Ctrl-G''          | go to bottom       | +| ''Ctrl-G''               | go to bottom       | 
-| ''Ctrl-h''          | move cursor left   | +| ''Ctrl-h''               | move cursor left   | 
-| ''Ctrl-j''          | move cursor down   | +| ''Ctrl-j''               | move cursor down   | 
-| ''Ctrl-k''          | move cursor up     | +| ''Ctrl-k''               | move cursor up     | 
-| ''Ctrl-l''          | move cursor right  | +| ''Ctrl-l''               | move cursor right  | 
-| ''Ctrl-%%/%%''      | search             | +| ''Ctrl-%%/%%''           | search             | 
-| ''Ctrl-#''          | list paste buffers | +| ''Ctrl-#''               | list paste buffers | 
-| ''Ctrl-q''          | quit               |+| ''Ctrl-q''               | quit               |
  
 ---- ----
cheat_sheets_tmux.1664121364.txt.gz · Last modified: by gman