Sun, 05 May 2024 02:13:36 -0500
pull out last_modified_days
1013 | 1 | set -g default-terminal "tmux-256color" |
2 | # set -ga terminal-overrides ',*:RGB' | |
3 | ||
1127
a120f1d3d932
tmux: update DBUS_SESSION_BUS_ADDRESS to fix gpg pinentry
Meredith Howard <mhoward@roomag.org>
parents:
1013
diff
changeset
|
4 | set -g update-environment 'DBUS_SESSION_BUS_ADDRESS' |
a120f1d3d932
tmux: update DBUS_SESSION_BUS_ADDRESS to fix gpg pinentry
Meredith Howard <mhoward@roomag.org>
parents:
1013
diff
changeset
|
5 | |
499 | 6 | set -g history-limit 6000 |
7 | set -g display-time 4000 | |
192 | 8 | |
236
5f84469c2b05
imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents:
194
diff
changeset
|
9 | set -g mouse on |
1013 | 10 | set -g focus-events on |
236
5f84469c2b05
imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents:
194
diff
changeset
|
11 | |
192 | 12 | # Start tab numbering at 1 |
13 | set -g base-index 1 | |
278 | 14 | set -g pane-base-index 1 |
15 | set -g renumber-windows on | |
192 | 16 | |
736
cb71e01111a5
slightly longer escape-time
Meredith Howard <mhoward@roomag.org>
parents:
582
diff
changeset
|
17 | set -sg escape-time 10 |
192 | 18 | |
582
7ec3dc00d06d
style more of the innards
Meredith Howard <mhoward@roomag.org>
parents:
581
diff
changeset
|
19 | set -g pane-border-style bg=colour232,fg=colour235 |
278 | 20 | 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
|
21 | set -g window-active-style bg=colour232 |
278 | 22 | |
582
7ec3dc00d06d
style more of the innards
Meredith Howard <mhoward@roomag.org>
parents:
581
diff
changeset
|
23 | set -g status-style bg=colour235,fg=cyan |
7ec3dc00d06d
style more of the innards
Meredith Howard <mhoward@roomag.org>
parents:
581
diff
changeset
|
24 | set -g message-style bg=colour235,fg=white |
7ec3dc00d06d
style more of the innards
Meredith Howard <mhoward@roomag.org>
parents:
581
diff
changeset
|
25 | 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
|
26 | set -g mode-style bg=colour173,fg=black,dim |
192 | 27 | |
403 | 28 | set -g status-left " #S " |
762
ef7d6daaa1c9
update deprecated but unwarned options
Meredith Howard <mhoward@roomag.org>
parents:
736
diff
changeset
|
29 | set -g status-left-style bg=colour237 |
403 | 30 | |
31 | 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
|
32 | set -g status-right-style bg=colour237 |
403 | 33 | |
34 | set -g window-status-format " #I:#W#F " | |
35 | 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
|
36 | set -g window-status-current-style bg=colour234 |
403 | 37 | |
279 | 38 | set -g set-titles on |
39 | set -g set-titles-string "#h(#S)" | |
40 | ||
402
cb0889a78173
Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents:
401
diff
changeset
|
41 | source-file ~/.tmux/screen-keys.conf |
cb0889a78173
Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents:
401
diff
changeset
|
42 | source-file ~/.tmux/vim-keys.conf |
1134
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
43 | |
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
44 | if-shell "tmux -V | awk '{exit !($2 >= \"3.2\")}'" { |
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
45 | source-file ~/.tmux/popup.conf |
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
46 | } |
402
cb0889a78173
Split screen and vim keybinds into files
Meredith Howard <mhoward@roomag.org>
parents:
401
diff
changeset
|
47 | |
581
dbe8e6709cd5
bring back choose-session
Meredith Howard <mhoward@roomag.org>
parents:
499
diff
changeset
|
48 | bind S choose-session |
767 | 49 | bind @ choose-window 'join-pane -h -s "%%"' |
914
54729706345b
remove confirm from kill-pane, and remain-on-exit
Meredith Howard <mhoward@roomag.org>
parents:
909
diff
changeset
|
50 | bind K kill-pane |
581
dbe8e6709cd5
bring back choose-session
Meredith Howard <mhoward@roomag.org>
parents:
499
diff
changeset
|
51 | |
1134
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
52 | if-shell 'test -e ~/.tmux.conf.local' { |
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
53 | source ~/.tmux.conf.local |
fe6ccd1afb11
Version-gate tmux popup (>= 3.2)
Meredith Howard <mhoward@roomag.org>
parents:
1133
diff
changeset
|
54 | } |
192 | 55 |