annotate rc/tmux-2.9.conf @ 657:91d7c2e5936c

Remove need to manually switch directory with sud
author nanaya <me@nanaya.pro>
date Sun, 25 Jul 2021 21:36:52 +0900
parents 84791ac85abd
children 5ebfac7426e5
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
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
2 set -g status-bg cyan
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
3 set -g status-fg black
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
4
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
5 set -g status-left '#[bg=white,fg=black] #S #[default] '
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
6
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
7 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
8
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
9 set -g pane-active-border "fg=cyan"
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 set-titles on
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
12 set -g set-titles-string '[#S] #I:#W #T'
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 escape-time 0
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
15 set -g history-limit 10000
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
16
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
17 setw -g window-status-current-style "bg=black fg=white"
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 bind-key c new-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
20 bind-key '"' split-window -c "#{pane_current_path}"
84791ac85abd Update tmux 2.9+ compatible syntax
nanaya <me@nanaya.pro>
parents:
diff changeset
21 bind-key % split-window -h -c "#{pane_current_path}"