1 # Set the command prefix to match GNU screen (CTRL+a)
2 # set-option -g prefix C-a
4 # Use C-a C-a key to send prefix instead of the default
6 # bind-key C-a send-prefix
8 # <prefix> C-a for last-window
9 # bind-key C-a last-window
11 # Start window numbers at 1 to match keyboard order with tmux window order
12 set-option -g base-index 1
13 set-option -g pane-base-index 1
14 # Renumber windows sequentially after closing any of them
15 set-option -g renumber-windows on
17 # Attempt to set the client terminal title
18 set-option -g set-titles on
19 # Terminal emulator window title
20 set -g set-titles-string 'tmux #S:#I.#P [ #W ]'
22 # Pass [Ctrl]+[PgUp/PgDn]
23 set-window-option -g xterm-keys on
26 set-window-option -g mode-mouse on
27 set-option -g mouse-select-pane on
28 set-option -g mouse-resize-pane on
29 # Mouse can be used to select windows (by clicking in the status bar)
30 set-option -g mouse-select-window on
32 # Rather than constraining window size to the maximum size of any client
33 # connected to the *session*, constrain window size to the maximum size of any
34 # client connected to *that window*. Much more reasonable.
35 set-window-option -g aggressive-resize on
38 set-option -g visual-activity on
39 set-window-option -g monitor-activity on
41 # Soften status bar color from black on harsh green to black on cyan
42 set-option -g status-fg black
43 set-option -g status-bg cyan
46 set-window-option -g clock-mode-colour black
48 # Increase scrollback lines
49 set-option -g history-limit 1000
51 # <prefix> R to reload config without restart
52 bind-key R source-file ~/.tmux.conf