annotate rc/tmux-2.2.conf @ 699:5ca9e6f4039e

[tmux] support custom status bg
author nanaya <me@nanaya.pro>
date Mon, 31 Oct 2022 17:53:58 +0900
parents 96a7b2a3e774
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
590
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
1 set -g repeat-time 0
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
2 set -g status-bg cyan
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
3 set -g status-fg black
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
4
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
5 set -g status-left '#[bg=white,fg=black] #S #[default] '
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
6
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
7 set -g status-right '#[bg=white,fg=black] #H #[bg=black,fg=white] %b-%d %H:%M '
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
8
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
9 set -g pane-active-border-fg cyan
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
10
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
11 set -g set-titles on
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
12 set -g set-titles-string '[#S] #I:#W #T'
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
13
605
a43414120226 No more escape delay
nanaya <me@myconan.net>
parents: 590
diff changeset
14 set -g escape-time 0
611
96a7b2a3e774 Higher tmux history
nanaya <me@nanaya.pro>
parents: 605
diff changeset
15 set -g history-limit 10000
605
a43414120226 No more escape delay
nanaya <me@myconan.net>
parents: 590
diff changeset
16
590
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
17 setw -g window-status-current-bg black
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
18 setw -g window-status-current-fg white
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
19
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
20 bind-key c new-window -c "#{pane_current_path}"
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
21 bind-key '"' split-window -c "#{pane_current_path}"
756cfd9f5bc8 Add tmux 2.2+ config
nanaya <me@myconan.net>
parents:
diff changeset
22 bind-key % split-window -h -c "#{pane_current_path}"