]> git.phdru.name Git - dotfiles.git/blob - .tmux.conf
Initial import
[dotfiles.git] / .tmux.conf
1 # Start window numbers at 1 to match keyboard order with tmux window order
2 set-option -g base-index 1
3 set-option -g pane-base-index 1
4 # Renumber windows sequentially after closing any of them
5 #set-option -g renumber-windows on
6
7 # Attempt to set the client terminal title
8 set-option -g set-titles on
9 # Terminal emulator window title
10 set -g set-titles-string 'tmux #S:#I.#P [ #W ]'
11
12 # Pass [Ctrl]+[PgUp/PgDn]
13 set-window-option -g xterm-keys on
14
15 # Mouse
16 set-window-option -g mode-mouse on
17 set-option -g mouse-select-pane on
18 set-option -g mouse-resize-pane on
19 # Mouse can be used to select windows (by clicking in the status bar)
20 set-option -g mouse-select-window on
21
22 # Rather than constraining window size to the maximum size of any client
23 # connected to the *session*, constrain window size to the maximum size of any
24 # client connected to *that window*. Much more reasonable.
25 set-window-option -g aggressive-resize on
26
27 # Activity monitoring
28 set-option -g visual-activity on
29 set-window-option -g monitor-activity on
30
31 # Soften status bar color from harsh green to black on cyan
32 set-option -g status-fg black
33 set-option -g status-bg cyan
34
35 # Clock color
36 set-window-option -g clock-mode-colour black
37
38 # Increase scrollback lines
39 set-option -g history-limit 1000
40
41 # C-b C-a for last-window
42 bind-key C-a last-window
43
44 # Reload config without restart
45 bind R source-file ~/.tmux.conf