tmux References#
All commands in tmux are triggered by a prefix key followed by a command key. By default, tmux uses C-b as prefix key. C-b means pressing Ctrl+B at the same time. Usually, people will configure C-a (aka. Ctrl+A ) as their alternative prefix key.
Default Shortcuts#
References
panes#
<prefix> %split pane left and right<prefix> "split pane top and bottom<prefix> <arrow keys>navigates between panesC-dclose pane
windows#
<prefix> ccreate a new window<prefix> pnavigates to previous window<prefix> nnavigates to next window<prefix> <number>navigates to specific window
sessions#
- to quit a session, close all panes
- to detach a session,
<prefix> d tmux lslist sessionstmux attach -t 0attach to "0"tmux new -s [NEW_SESSION_NAME]create a new session with the specified nametmux rename-session -t 0 database
.tmux.conf Customizations#
References
panes#
<prefix> |split pane left and right<prefix> -split pane top and bottomalt <arrow keys>navigates between panesC-dclose pane
others#
<prefix> rreload tmux config<prefix> mtoggle mouse mode<prefix> [enter scrolling modeqquit scrolling mode