Tmux🔗
Installation🔗
Configuration🔗
Edit ~/.tmux.conf
# Remap prefix to Ctrl-a
unbind C-b
set -g prefix C-a
# Mouse support
set -g mouse on
# Split panes
bind | split-window -h
bind - split-window -v
# Status bar
set -g status-bg cyan
Reload Config
Key Workflows🔗
Command | Workflow |
---|---|
tmux new -s <name> |
Start named Session |
Ctrl-a d |
Detach Session |
tmux ls |
List Session |
Ctrl-a c |
New Window |
Pro Tips🔗
- Persist sessions with
tmux-resurrect
- Use
ssh-agent
in tmux for shared keys. - https://tmuxcheatsheet.com/