.tmux.conf

Wed, 16 Jun 2021 12:21:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Jun 2021 12:21:26 -0500
changeset 910
272ba799a19e
parent 909
aa1b7e2ef1d9
child 914
54729706345b
permissions
-rw-r--r--

perl syntax fixes maybe

278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
1 set -g default-terminal "screen-256color"
499
47fcadea275e more history
Meredith Howard <mhoward@roomag.org>
parents: 407
diff changeset
2 set -g history-limit 6000
47fcadea275e more history
Meredith Howard <mhoward@roomag.org>
parents: 407
diff changeset
3 set -g display-time 4000
909
aa1b7e2ef1d9 improve K bind and set remain-on-exit
Meredith Howard <mhoward@roomag.org>
parents: 767
diff changeset
4 set -g remain-on-exit failed
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
236
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
6 set -g mouse on
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
7
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 # Start tab numbering at 1
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 set -g base-index 1
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
10 set -g pane-base-index 1
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
11 set -g renumber-windows on
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12
736
cb71e01111a5 slightly longer escape-time
Meredith Howard <mhoward@roomag.org>
parents: 582
diff changeset
13 set -sg escape-time 10
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
582
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
15 set -g pane-border-style bg=colour232,fg=colour235
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
16 set -g pane-active-border-style bg=colour232,fg=colour239
582
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
17 set -g window-active-style bg=colour232
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
18
582
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
19 set -g status-style bg=colour235,fg=cyan
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
20 set -g message-style bg=colour235,fg=white
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
21 set -g message-command-style bg=colour235,fg=white,bold
7ec3dc00d06d style more of the innards
Meredith Howard <mhoward@roomag.org>
parents: 581
diff changeset
22 set -g mode-style bg=colour173,fg=black,dim
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23
403
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
24 set -g status-left " #S "
762
ef7d6daaa1c9 update deprecated but unwarned options
Meredith Howard <mhoward@roomag.org>
parents: 736
diff changeset
25 set -g status-left-style bg=colour237
403
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
26
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
27 set -g status-right " #{=21:pane_title} %m-%d %H:%M "
762
ef7d6daaa1c9 update deprecated but unwarned options
Meredith Howard <mhoward@roomag.org>
parents: 736
diff changeset
28 set -g status-right-style bg=colour237
403
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
29
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
30 set -g window-status-format " #I:#W#F "
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
31 set -g window-status-current-format " #I:#W#F "
762
ef7d6daaa1c9 update deprecated but unwarned options
Meredith Howard <mhoward@roomag.org>
parents: 736
diff changeset
32 set -g window-status-current-style bg=colour234
403
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
33
279
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
34 set -g set-titles on
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
35 set -g set-titles-string "#h(#S)"
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
36
402
cb0889a78173 Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents: 401
diff changeset
37 source-file ~/.tmux/screen-keys.conf
cb0889a78173 Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents: 401
diff changeset
38 source-file ~/.tmux/vim-keys.conf
cb0889a78173 Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents: 401
diff changeset
39
581
dbe8e6709cd5 bring back choose-session
Meredith Howard <mhoward@roomag.org>
parents: 499
diff changeset
40 bind S choose-session
767
0e08061474a8 joinp shortcut
Meredith Howard <mhoward@roomag.org>
parents: 762
diff changeset
41 bind @ choose-window 'join-pane -h -s "%%"'
909
aa1b7e2ef1d9 improve K bind and set remain-on-exit
Meredith Howard <mhoward@roomag.org>
parents: 767
diff changeset
42 bind K confirm-before -p "kill-pane #P? (y/n)" kill-pane
581
dbe8e6709cd5 bring back choose-session
Meredith Howard <mhoward@roomag.org>
parents: 499
diff changeset
43
404
2002e152dff6 just use test
Meredith Howard <mhoward@roomag.org>
parents: 403
diff changeset
44 if-shell 'test -e ~/.tmux.conf.local' "source ~/.tmux.conf.local"
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
45

mercurial