☰ tmux Config
# Category Command

Default Shell

1Set default shell to Zshset-option -g default-shell /usr/bin/zsh

Status Bar

2Set status bar background colorset-option -g status-bg black
3Set status bar foreground colorset-option -g status-fg white
4Show session name on leftset-option -g status-left '[#S]'
5Show date and time on rightset-option -g status-right '#(date +"%Y-%m-%d %H:%M")'

Pane Splitting

6Unbind default horizontal splitunbind '"'
7Unbind default vertical splitunbind '%'
8Split pane verticallybind | split-window -h
9Split pane horizontallybind - split-window -v

Pane Navigation

10Navigate to the left panebind h select-pane -L
11Navigate to the down panebind j select-pane -D
12Navigate to the up panebind k select-pane -U
13Navigate to the right panebind l select-pane -R

Pane Resizing

14Resize pane leftbind -r < resize-pane -L 5
15Resize pane rightbind -r > resize-pane -R 5
16Resize pane upbind -r + resize-pane -U 2
17Resize pane downbind -r _ resize-pane -D 2

Scrollback

18Set scrollback buffer limitset-option -g history-limit 10000