Cheatography
https://cheatography.com
tmux cheatsheet configured with oh my tmux settings (https://github.com/gpakosz/.tmux)
General
Control-a |
prefix key (default C-b) |
<prefix> : |
interactive dialog (promt) |
<prefix> d |
detach session |
<prefix> e |
opens ~/.tmux.conf.local |
<prefix> r |
reload .tmux.conf |
<prefix> t |
big clock |
<prefix> ? |
list bindings |
Control-l |
clears screen |
<prefix> m |
toggles mouse mode |
Copy Mode
<prefix> Enter |
enter copy mode |
<prefix> b |
list paste buffers |
<prefix> p |
paste last buffer |
<prefix> P |
choose paste buffer |
v |
visual mode |
control v |
toggles visual mode |
H |
start of line |
L |
end of line |
y |
copies selection |
Esc |
cancels current selection |
|
|
Sessions
tmux new -s name |
start new session |
tmux a -t name |
reattach session |
tmux ls |
list sessions |
tmux kill-session -t name |
kill named session |
tmux kill-server |
kill server and all sessions |
<prefix> s |
list sessions |
<prefix> control + c |
creates session |
<prefix> cronto l +f |
switch to another session by name |
<prefix> control + ( |
next session |
<prefix> control + ) |
previous session |
|
|
Windows
<prefix> c |
new window |
<prefix> , |
rename window |
<prefix> h, <prefix> n |
next window |
<prefix> l, <prefix> p |
previous window |
<prefix> tab |
last window |
<prefix> [0-9] |
move to window number [0-9] |
<prefix> f |
find window |
<prefix> & |
kills window |
<prefix> . |
move window |
Panes
<prefix> - |
splits the current pane vertically |
<prefix> _ |
splits the current pane horizontally |
<prefix> {h,j,k,l} |
navigate between panes |
<prefix> {H,J,K,L} |
resize panes |
<prefix> {<,>} |
switch panes |
<prefix> + |
zoom pane |
<prefix> x |
kill pane |
<prefix> <space> |
toggle through layouts |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by frieser