Working with panes
- Create new vertical pane:
ctrl-B + %
- Move between panes:
ctrl-B + left or right
- Create horizontal pane:
ctrl-B + "
Create new windows
- New window:
ctrl-B + C
- Change window:
ctrl-B + window number
- Rename window:
ctrl-B + ,
Sessions
- Detach session:
ctrl-B + d
- View background sessions:
tmux ls
- Attach session named 0:
tmux attach -t 0
- Rename background session to git:
tmux rename-session -t 0 git
- Create a new session with name:
tmux new -s seshname
- Kill tmux session:
tmux kill-session -t seshname