Tmux Wiki¶
Resources¶
- Tmux display popup: Use tmux display popups
Session¶
New session¶
Create session in background¶
Rename Session¶
Attach to session¶
Move between sessions¶
Windows¶
Create windows¶
tmux new -s windows -n shell
# this will create a session with name windows and a window with name shell
Rename windows¶
Move between windows¶
Open new window in current directory¶
Reorder windows¶
:swap-window -t -1
//moves current window to the left
:swap-window -s 3 -t 1
//swaps window indexed at 3 with that indexed at 1
List windows¶
tmux list-windows -a -F '#S:#W'
# will return windows in all sessions for a server.
# the format will be session_name:window_name
Panes¶
Splits¶
Resizing panes¶
Kill pane¶
Show pane numbers¶
Pane → Window¶
Command mode¶
Scrolling¶
Searching¶
Copying¶
Make pane border invisible¶
Just set pane-border-style
, and pane-active-border-style
to be the same
color as the background.