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