Created
April 3, 2019 20:17
-
-
Save ijames/1522ad7b64d5885eccb54a2d167c8347 to your computer and use it in GitHub Desktop.
Mini tmux Shortcut Cheatsheet For Stickies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMUX SHORTCUTS | |
(First type prefix key) | |
PANES | |
Kill .................... x | |
SPLIT | |
top/bottom .......... " | |
side/side ........... % | |
GO | |
◊<> ................. arrow | |
Next ................ o | |
Prev ................ ; | |
MOVE | |
Prev ................ { | |
Next ................ } | |
Rotate up ........... C-o | |
Rotate down ......... M-o | |
Separate ............ ! | |
Split.move .......... move-pane -t :3.2 | |
RESIZE | |
1 ................... C-arrow | |
5 ................... M-arrow | |
LAYOUT | |
Even-horizontal ..... M-1 | |
Even-vertical ....... M-2 | |
Main-horizontal ..... M-3 | |
Main-vertical ....... M-4 | |
Tiled ............... M-5 | |
Rotate .............. space | |
Show # .................. q | |
WINDOWS | |
Create .................. c | |
GO | |
To # ................ 1 ... | |
Previous ............ p | |
Next ................ n | |
Last ................ l | |
Choose .............. w | |
Changed ............. M-n | |
Prev Changed ........ M-p | |
Rename .................. , | |
SESSIONS | |
Create .................. $ tmux new-session -s work | |
Create/Share ............ $ tmux new-session -s work2 -t work | |
Attach .................. $ tmux attach -t work | |
Detach .................. d | |
Previous ................ ( | |
Next .................... ) | |
Last .................... L | |
Choose .................. s | |
Rename .................. $ | |
Force a re-config on C-a r | |
unbind r | |
bind r source-file ~/.tmux.conf | |
Change Prefix in ~/.tmux.conf | |
set -g prefix C-a | |
bind C-a send-prefix | |
unbind C-b | |
"Pane": part of a window that runs a specific command | |
"Window": single screen covered with panes | |
"Session": set of windows | |
Derived from: https://gist.github.com/andreyvit/2921703 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment