diff --git a/etc/soft/tmux/tmux.conf b/etc/soft/tmux/tmux.conf new file mode 100644 index 0000000..520c7ea --- /dev/null +++ b/etc/soft/tmux/tmux.conf @@ -0,0 +1,52 @@ +set-window-option -g mode-keys vi + +set -g default-terminal "screen-256color" + +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +bind H split-window -h +bind V split-window -v + +unbind '"' +unbind % + +bind R source-file ~/.tmux.conf + +set -g clock-mode-colour colour5 +set -g mode-style 'fg=colour1 bg=colour18 bold' + +# default statusbar colors +set-option -g status-style fg=colour2,bg=colour253 #yellow and base02 + +set-option -g pane-border-style fg=colour250,bg=colour253 +set-option -g pane-active-border-style fg=colour9,bg=colour253 + +set-option -g message-style fg=colour166,bg=colour235 + +# pane number display +set-option -g display-panes-active-colour colour33 +set-option -g display-panes-colour colour166 + +# clock +set-window-option -g clock-mode-colour colour64 + +# bell +set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red + +set-window-option -g window-status-style fg=colour4,bg=colour253 +set-window-option -g window-status-current-style fg=colour4,bg=colour250 + +# Status Bar + +set-option -g status-position top + +set-option -g status-left "[#S] 爵#H " +set-option -g status-left-length 20 + +set-option -g status-right " #{=21:pane_title} " +set-option -g status-right-length 40 + +set-option -g automatic-rename on +