I use Thoughtbot's dotfiles which has the prefix combination set to control S
command | |
---|---|
Start new session | tmux new -s session_name |
End session | tmux kill-session -t session_name |
command | keystrokes | |
---|---|---|
Split window horizontally | tmux split-window |
control S + " |
Split window vertically | tmux split-window -h |
control S + % |
Swap pane | tmux swap-pane -[UDLR] |
control S + { or } |
Kill pane | control S + X | |
Copy mode | control S + [ | |
Quit copy mode | Q |
"Copy mode" allows you to scroll the pane with your mouse or arrow keys.