annotate rc/tmux.conf @ 739:2cf87b7ca09a default tip

Update vendored stuff
author nanaya <me@nanaya.net>
date Thu, 09 Jan 2025 03:28:23 +0900
parents 002d6aa2d76e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
627
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
1 set -g repeat-time 0
699
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
2 %if "#{==:${TMUX_STATUS_BG},}"
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
3 set -g status-bg cyan
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
4 %else
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
5 set -g status-bg "${TMUX_STATUS_BG}"
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
6 %endif
627
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
7 set -g status-fg black
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
8
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
9 set -g status-left '#[bg=white,fg=black] #S #[default] '
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
10
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
11 set -g status-right '#[bg=white,fg=black] #H #[bg=black,fg=white] %b-%d %H:%M '
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
12
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
13 set -g pane-active-border "fg=cyan"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
14
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
15 set -g set-titles on
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
16 set -g set-titles-string '[#S] #I:#W #T'
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
17
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
18 set -g escape-time 0
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
19 set -g history-limit 10000
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
20
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
21 setw -g window-status-current-style "bg=black fg=white"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
22
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
23 bind-key c new-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
24 bind-key '"' split-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
25 bind-key % split-window -h -c "#{pane_current_path}"