.tmux.conf

Sun, 01 May 2016 22:12:58 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 01 May 2016 22:12:58 -0400
changeset 295
33d6b9519d7e
parent 279
5fbd5271c9dd
child 298
dd3ff1752714
permissions
-rw-r--r--

Add mappings and default magic-free regex, also expand scrolloff

192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 # $Id: screen-keys.conf,v 1.7 2010-07-31 11:39:13 nicm Exp $
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 # By Nicholas Marriott. Public domain.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 # This configuration file binds many of the common GNU screen key bindings to
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 # appropriate tmux key bindings. Note that for some key bindings there is no
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 # tmux analogue and also that this set omits binding some commands available in
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 # tmux but not in screen.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 # Note this is only a selection of key bindings and they are in addition to the
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 # normal tmux key bindings. This is intended as an example not as to be used
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 # as-is.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 # Set the prefix to ^A.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 unbind C-b
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 set -g prefix ^A
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 bind a send-prefix
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 # Bind appropriate commands similar to screen.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 # lockscreen ^X x
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 unbind ^X
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 bind ^X lock-server
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 unbind x
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 bind x lock-server
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 # screen ^C c
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 unbind ^C
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 bind ^C new-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29 unbind c
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 bind c new-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 # detach ^D d
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 unbind ^D
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 bind ^D detach
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36 # displays *
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 unbind *
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38 bind * list-clients
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40 # next ^@ ^N sp n
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 unbind ^@
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
42 bind ^@ next-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
43 unbind ^N
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44 bind ^N next-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
45 unbind " "
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
46 bind " " next-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
47 unbind n
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
48 bind n next-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
49
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 # title A
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51 unbind A
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
52 bind A command-prompt "rename-window %%"
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
53
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
54 # other ^A
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
55 unbind ^A
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
56 bind ^A last-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
57
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
58 # prev ^H ^P p ^?
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
59 unbind ^H
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
60 bind ^H previous-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
61 unbind ^P
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
62 bind ^P previous-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
63 unbind p
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
64 bind p previous-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
65 unbind BSpace
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
66 bind BSpace previous-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
67
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
68 # windows ^W w
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
69 unbind ^W
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
70 bind ^W list-windows
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
71 unbind w
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
72 bind w list-windows
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
73
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
74 # quit \
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
75 unbind '\'
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
76 bind '\' confirm-before "kill-server"
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
77
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
78 # kill K k
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
79 unbind K
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
80 bind K confirm-before "kill-window"
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
81 unbind k
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
82 bind k confirm-before "kill-window"
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
83
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
84 # redisplay ^L l
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
85 unbind ^L
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
86 bind ^L refresh-client
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
87
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
88 # split -v |
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
89 unbind |
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
90 bind | split-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
91
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
92 # :kB: focus up
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
93 unbind Tab
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
94 bind Tab select-pane -t:.+
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
95 unbind BTab
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
96 bind BTab select-pane -t:.-
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
97
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
98 # " windowlist -b
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
99 unbind '"'
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
100 bind '"' choose-window
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
101
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
102
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
103 unbind l
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
104
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
105
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
106 # $Id: vim-keys.conf,v 1.2 2010-09-18 09:36:15 nicm Exp $
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
107 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
108 # vim-keys.conf, v1.2 2010/09/12
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
109 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
110 # By Daniel Thau. Public domain.
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
111 #
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
112 # This configuration file binds many vi- and vim-like bindings to the
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
113 # appropriate tmux key bindings. Note that for many key bindings there is no
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
114 # tmux analogue. This is intended for tmux 1.3, which handles pane selection
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
115 # differently from the previous versions
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
116
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
117 # split windows like vim
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
118 # vim's definition of a horizontal/vertical split is reversed from tmux's
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
119 bind s split-window -v
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
120 bind v split-window -h
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
121
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
122 # move around panes with hjkl, as one would in vim after pressing ctrl-w
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
123 bind h select-pane -L
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
124 bind j select-pane -D
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
125 bind k select-pane -U
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
126 bind l select-pane -R
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
127
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
128 # resize panes like vim
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
129 # feel free to change the "1" to however many lines you want to resize by, only
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
130 # one at a time can be slow
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
131 bind < resize-pane -L 3
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
132 bind > resize-pane -R 3
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
133 bind - resize-pane -D 3
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
134 bind + resize-pane -U 3
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
135
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
136 # bind : to command-prompt like vim
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
137 # this is the default in tmux already
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
138 bind : command-prompt
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
139
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
140 # vi-style controls for copy mode
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
141 setw -g mode-keys vi
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
142
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
143 ############ end vim-keys.conf
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
144
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
145 ## Addt'l customization
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
146 set-window-option -g mode-keys vi
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
147 bind-key h select-pane -L
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
148 bind-key j select-pane -D
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
149 bind-key k select-pane -U
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
150 bind-key l select-pane -R
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
151
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
152 # Look good
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
153 set -g default-terminal "screen-256color"
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
154
236
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
155 # Enable mouse support (works in iTerm) (tmux 2.x)
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
156 set -g mouse on
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
157 set -g mouse-utf8 on
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
158
277
5a1849a8608a Disable mouse copy-mode
Meredith Howard <mhoward@roomag.org>
parents: 236
diff changeset
159 # I think I'd rather enter copy-mode intentionally
5a1849a8608a Disable mouse copy-mode
Meredith Howard <mhoward@roomag.org>
parents: 236
diff changeset
160 # bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
5a1849a8608a Disable mouse copy-mode
Meredith Howard <mhoward@roomag.org>
parents: 236
diff changeset
161 # bind -n WheelDownPane select-pane -t= \; send-keys -M
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
162
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
163 # Change cursor in vim to distinguish between insert and command mode
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
164 set -g terminal-overrides '*88col*:colors=88,*256col*:colors=256,xterm*:XT:Ms=\E]52;%p1%s;%p2%s\007:Cc=\E]12;%p1%s\007:Cr=\E]112\007:Cs=\E]50;CursorShape=%?%p1%{3}%<%t%{0}%e%p1%{2}%-%;%d\007'
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
165
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
166 # Start tab numbering at 1
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
167 set -g base-index 1
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
168 set -g pane-base-index 1
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
169 set -g renumber-windows on
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
170
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
171 # Allows for faster key repetition
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
172 set -sg escape-time 0
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
173
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
174 set -g pane-border-style bg=colour232,fg=colour235
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
175 set -g pane-active-border-style bg=colour232,fg=colour239
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
176 set -g window-active-style bg=colour232
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
177
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
178 set -g status-bg colour235
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
179 set -g status-fg cyan
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
180
279
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
181 set -g set-titles on
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
182 set -g set-titles-string "#h(#S)"
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
183
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
184 source ~/.tmux.conf.local
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
185

mercurial