annotate rc/tmux-2.9.conf @ 686:5ebfac7426e5

Use screen terminal by default until everything is updated tmux-256color doesn't exist on older debians.
author nanaya <me@nanaya.pro>
date Thu, 15 Sep 2022 03:00:38 +0900
parents 84791ac85abd
children 5ca9e6f4039e
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
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
3 set -g status-bg cyan
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
4 set -g status-fg black
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
5
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
6 set -g status-left '#[bg=white,fg=black] #S #[default] '
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
7
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
8 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
9
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
10 set -g pane-active-border "fg=cyan"
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 set-titles on
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
13 set -g set-titles-string '[#S] #I:#W #T'
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 escape-time 0
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
16 set -g history-limit 10000
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 setw -g window-status-current-style "bg=black fg=white"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
19
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
20 bind-key c new-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
21 bind-key '"' split-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
22 bind-key % split-window -h -c "#{pane_current_path}"