aboutsummaryrefslogtreecommitdiff
path: root/tmux
blob: 8ac6015dd2a2397c16dffa4c8662f3567b23ec3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Help
ctrl+b ?

# New named session
tmux new -s session_name

# Detach
crtl+b d

# List sessions
tmux ls

# Re-attach
tmux attach -t session_name # or number if unnamed

# Working with windows
Ctrl+b c Create a new window (with shell)

Ctrl+b w Choose window from a list
Ctrl+b 0 Switch to window 0 (by number )
Ctrl+n   Switch to next window
Ctrl+p   Switch to previous window

Ctrl+b , Rename the current window

# Working with panes
Ctrl+b % Split current pane horizontally into two panes
Ctrl+b " Split current pane vertically into two panes

Ctrl+b o Go to the next pane
Ctrl+b ; Toggle between the current and previous pane

Ctrl+b x Close the current pane