| # | Category | Command |
|---|---|---|
Default Shell | ||
| 1 | Set default shell to Zsh | set-option -g default-shell /usr/bin/zsh |
Status Bar | ||
| 2 | Set status bar background color | set-option -g status-bg black |
| 3 | Set status bar foreground color | set-option -g status-fg white |
| 4 | Show session name on left | set-option -g status-left '[#S]' |
| 5 | Show date and time on right | set-option -g status-right '#(date +"%Y-%m-%d %H:%M")' |
Pane Splitting | ||
| 6 | Unbind default horizontal split | unbind '"' |
| 7 | Unbind default vertical split | unbind '%' |
| 8 | Split pane vertically | bind | split-window -h |
| 9 | Split pane horizontally | bind - split-window -v |
Pane Navigation | ||
| 10 | Navigate to the left pane | bind h select-pane -L |
| 11 | Navigate to the down pane | bind j select-pane -D |
| 12 | Navigate to the up pane | bind k select-pane -U |
| 13 | Navigate to the right pane | bind l select-pane -R |
Pane Resizing | ||
| 14 | Resize pane left | bind -r < resize-pane -L 5 |
| 15 | Resize pane right | bind -r > resize-pane -R 5 |
| 16 | Resize pane up | bind -r + resize-pane -U 2 |
| 17 | Resize pane down | bind -r _ resize-pane -D 2 |
Scrollback | ||
| 18 | Set scrollback buffer limit | set-option -g history-limit 10000 |