Command | Description |
---|---|
swap-pane -s 3 -t 1 |
Swap pane |
swap-window -t -1 |
Move to left |
setw synchronize-panes |
Sync Panes |
join-pane -t :# |
Join pane |
Tmux Command Mode
Misc
Setting
Command | Description |
---|---|
set -g OPTION |
Set for all sessions |
setw -g OPTION |
Set for all windows |
setw -g mode-keys vi |
Enable vi-mode |
set -g prefix C-a |
Set prefix |
Copying
Command | Description |
---|---|
list-buffers |
List all buffers |
show-buffer |
Show #0 contents |
capture-pane |
Copy of pane |
choose-buffer |
Show and paste |
save-buffer a.txt |
Save to file |
delete-buffer -b 1 |
Delete buffer 1 |
Listing
Command | Description |
---|---|
list-keys |
All commands |
list-panes |
All panes |
list-windows |
All Windows |
Resizing
Command | Description |
---|---|
resize-pane -D 20 |
Resize down |
resize-pane -U 20 |
Resize up |
resize-pane -L 20 |
Resize left |
resize-pane -R 20 |
Resize right |
Usage
Command | Description |
---|---|
Ctrl+b : |
Enter command mode |
Comments