]> git.phdru.name Git - dotfiles.git/blob - .tmux.conf
.tmux: add (commented out) prefix change
[dotfiles.git] / .tmux.conf
1 # Set the command prefix to match GNU screen (CTRL+a)
2 # set-option -g prefix C-a
3 #
4 # Use C-a C-a key to send prefix instead of the default
5 # unbind-key C-b
6 # bind-key C-a send-prefix
7 #
8 # <prefix> C-a for last-window
9 # bind-key C-a last-window
10
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
16
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 ]'
21
22 # Pass [Ctrl]+[PgUp/PgDn]
23 set-window-option -g xterm-keys on
24
25 # Mouse
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
31
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
36
37 # Activity monitoring
38 set-option -g visual-activity on
39 set-window-option -g monitor-activity on
40
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
44
45 # Clock color
46 set-window-option -g clock-mode-colour black
47
48 # Increase scrollback lines
49 set-option -g history-limit 1000
50
51 # <prefix> R to reload config without restart
52 bind-key R source-file ~/.tmux.conf