tmux new -s [session name]
tmux ls
tmux a -t [name of session]
tmux kill-session -t [name of session]
ctrl+a [arrow key]
tmux kill-server
Now a Prefix
options reference:
Command | What it does |
---|---|
? |
get help |
Command | What it does |
---|---|
s |
list sessions |
$ |
rename the current session |
d |
detach from the current session |
Command | What it does |
---|---|
c |
create a new window |
, |
rename the current window |
w |
list windows |
- |
split horizontally |
| |
split vertically |
n |
change to the next window |
p |
change to the previous window |
0 to 9 |
select windows 0 through 9 |
Command | What it does |
---|---|
_ |
create a horizontal pane |
| |
create a vertical pane |
q |
show pane numbers |
o |
toggle between panes |
} |
swap with next pane |
{ |
swap with previous pane |
! |
break the pane out of the window |
x |
kill the current pane |
z |
maximize the current pane |
Command | What it does |
---|---|
t |
show the time in current pane |
as per my .tmux.conf