diff options
author | Alexis Hovorka <[email protected]> | 2021-04-02 16:40:58 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-04-02 16:40:58 -0600 |
commit | bbbd7974620b321df374af8bafa113abd855d220 (patch) | |
tree | 89e0872829b43b3715a50339b7380e57169617da | |
parent | 876b5516cd8e085c6befb6feb1eafefb36c008d6 (diff) |
[feat] Make tmux window titles their index by default
-rw-r--r-- | base/tmux.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/tmux.conf b/base/tmux.conf index 6269ccf..d06148e 100644 --- a/base/tmux.conf +++ b/base/tmux.conf @@ -25,8 +25,8 @@ set -g status-right-length 30 set -g status-style "fg=colour8,bg=colour18" set -g status-left "#(bash ~/.tmux/status-left)" set -g status-right "#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R 💜" -set -g window-status-format "#W #[default,fg=colour19]" -set -g window-status-current-format "#W #[nobold,fg=colour19]" +set -g window-status-format "#{?#W,#W,#I} #[default,fg=colour19]" +set -g window-status-current-format "#{?#W,#W,#I} #[nobold,fg=colour19]" set -g window-status-current-style "fg=colour4,bold" set -g window-status-activity-style "fg=colour20" set -g window-status-bell-style "fg=colour20" @@ -82,6 +82,7 @@ bind % command-prompt -p index "select-window -t ':%%'" bind '"' splitw -hc "#{pane_current_path}" bind "'" splitw -c "#{pane_current_path}" bind Tab last # most recent window +bind-key c new-window -n "" bind -r "<" swapw -d -t -1 bind -r ">" swapw -d -t +1 |