ctrl+b |
prefix | ||
---|---|---|---|
basic | session | ||
? |
Show shortcuts | s |
show all sessions |
: |
command mode | d |
Detach from session |
& |
Rename session | ||
window | pane | ||
c |
create | % |
splite left and right |
w |
select | " |
splite up and down |
0 -9 |
Switch/select window by number | q |
Show pane numbers |
& |
close current one | → |
move to direction |
n |
next window | ctrl+→ |
resize |
p |
Previous window | ! |
Convert pane into a window |
l |
go previous | x |
Close current pane |
' |
go to number | o |
go to next |
. |
change number | ; |
go to previous |
, |
rename | z |
Toggle pane zoom |
f |
search | space | change layout |
copy | alt-1 -5 |
change layout | |
[ |
start | { |
Move the current pane left |
space | copy from | } |
Move the current pane right |
enter | copy to | ctrl+o |
switch all |
] |
paste | t |
show current time |
plugin | resurrect | ||
I |
install | ctrl+s |
save tmux configuration |
U |
update | ctrl+r |
use saved configuration |
tmux commands | |
tmux |
Show every session, window, pane, etc... |
tmux info |
start a new session |
tmux new -s name |
name and start a new session |
tmux ls |
show all sessions |
tmux lsc |
show all connected sessions |
tmux a |
reconnect to session |
tmux kill-session |
kill session |
tmux kill-session -t name |
kill the specific session |
tmux kill-server |
kill all sessions |
tmux source ~/.tmux.conf |
reload configuration file |
tmux -V |
show version |
references: https://tmuxcheatsheet.com/