.tmux.conf

Sun, 05 May 2024 02:13:36 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 May 2024 02:13:36 -0500
changeset 1156
0a7162df160d
parent 1134
fe6ccd1afb11
permissions
-rw-r--r--

pull out last_modified_days

1013
125540e1a1a7 update tmux behavior
Meredith Howard <mhoward@roomag.org>
parents: 914
diff changeset
1 set -g default-terminal "tmux-256color"
125540e1a1a7 update tmux behavior
Meredith Howard <mhoward@roomag.org>
parents: 914
diff changeset
2 # set -ga terminal-overrides ',*:RGB'
125540e1a1a7 update tmux behavior
Meredith Howard <mhoward@roomag.org>
parents: 914
diff changeset
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
47fcadea275e more history
Meredith Howard <mhoward@roomag.org>
parents: 407
diff changeset
6 set -g history-limit 6000
47fcadea275e more history
Meredith Howard <mhoward@roomag.org>
parents: 407
diff changeset
7 set -g display-time 4000
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
236
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
9 set -g mouse on
1013
125540e1a1a7 update tmux behavior
Meredith Howard <mhoward@roomag.org>
parents: 914
diff changeset
10 set -g focus-events on
236
5f84469c2b05 imported patch mhoward-mbp
Meredith Howard <mhoward@roomag.org>
parents: 194
diff changeset
11
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 # Start tab numbering at 1
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 set -g base-index 1
278
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
14 set -g pane-base-index 1
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
15 set -g renumber-windows on
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
736
cb71e01111a5 slightly longer escape-time
Meredith Howard <mhoward@roomag.org>
parents: 582
diff changeset
17 set -sg escape-time 10
192
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
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
54da53978ffb Brighten active pane
Meredith Howard <mhoward@roomag.org>
parents: 277
diff changeset
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
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27
403
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
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
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
30
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
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
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
33
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
34 set -g window-status-format " #I:#W#F "
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
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
cdab701bb9f6 customize status
Meredith Howard <mhoward@roomag.org>
parents: 402
diff changeset
37
279
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
38 set -g set-titles on
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
39 set -g set-titles-string "#h(#S)"
5fbd5271c9dd add set-titles
Meredith Howard <mhoward@roomag.org>
parents: 278
diff changeset
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
0e08061474a8 joinp shortcut
Meredith Howard <mhoward@roomag.org>
parents: 762
diff changeset
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
97c774f8e3c5 Add .tmux.conf
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
55

mercurial