annotate rc/tmux-2.9.conf @ 700:6811226a75d9

[hg] update email address
author nanaya <me@nanaya.net>
date Mon, 31 Oct 2022 19:43:47 +0900
parents 5ca9e6f4039e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
686
5ebfac7426e5 Use screen terminal by default until everything is updated
nanaya <me@nanaya.pro>
parents: 627
diff changeset
1 set -g default-terminal "screen-256color"
627
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
2 set -g repeat-time 0
699
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
3 %if "#{==:${TMUX_STATUS_BG},}"
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
4 set -g status-bg cyan
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
5 %else
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
6 set -g status-bg "${TMUX_STATUS_BG}"
5ca9e6f4039e [tmux] support custom status bg
nanaya <me@nanaya.pro>
parents: 686
diff changeset
7 %endif
627
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
8 set -g status-fg black
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
9
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
10 set -g status-left '#[bg=white,fg=black] #S #[default] '
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
11
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
12 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
13
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
14 set -g pane-active-border "fg=cyan"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
15
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
16 set -g set-titles on
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
17 set -g set-titles-string '[#S] #I:#W #T'
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
18
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
19 set -g escape-time 0
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
20 set -g history-limit 10000
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
21
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
22 setw -g window-status-current-style "bg=black fg=white"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
23
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
24 bind-key c new-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
25 bind-key '"' split-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
26 bind-key % split-window -h -c "#{pane_current_path}"