]> git.phdru.name Git - dotfiles.git/blob - .tmux.conf
.procmailrc: save sqlobject notifications to python mbox
[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 # Option renumber-windows was implemented in tmux 1.7, tmux in Debian 7 is 1.6.
7
8 # Attempt to set the client terminal title
9 set-option -g set-titles on
10 # Terminal emulator window title
11 set -g set-titles-string 'tmux #S:#I.#P [ #W ]'
12
13 # Pass [Ctrl]+[PgUp/PgDn]
14 set-window-option -g xterm-keys on
15
16 # Mouse
17 set-window-option -g mode-mouse on
18 set-option -g mouse-select-pane on
19 set-option -g mouse-resize-pane on
20 # Mouse can be used to select windows (by clicking in the status bar)
21 set-option -g mouse-select-window on
22
23 # Rather than constraining window size to the maximum size of any client
24 # connected to the *session*, constrain window size to the maximum size of any
25 # client connected to *that window*. Much more reasonable.
26 set-window-option -g aggressive-resize on
27
28 # Activity monitoring
29 set-option -g visual-activity on
30 set-window-option -g monitor-activity on
31
32 # Soften status bar color from black on harsh green to black on cyan
33 set-option -g status-fg black
34 set-option -g status-bg cyan
35
36 # Clock color
37 set-window-option -g clock-mode-colour black
38
39 # Increase scrollback lines
40 set-option -g history-limit 1000
41
42 # C-b C-a for last-window
43 bind-key C-a last-window
44
45 # C-b R to reload config without restart
46 bind-key R source-file ~/.tmux.conf