diff --git a/configs/.tmux.conf b/configs/.tmux.conf index 7e1de0b..3a80729 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -1,4 +1,4 @@ -# afx.tmux.conf 2017-2018 +# afx.tmux.conf 2017-2020 # unbind all does not recover the default binds but we can list them # and fill the 'gaps' with manual rebind in the conf file using this command: @@ -24,7 +24,7 @@ setw -g mode-keys vi #setw -g mode-mouse off #tmux 1.9 set-option -g mouse off #tmux 2.1 -bind-key r source-file ~/.tmux.conf \; display-message "] afx' .tmux.conf v7.3 (⌐■_■) [" +bind-key r source-file ~/.tmux.conf \; display-message "] afx' .tmux.conf v8.1 (⌐■_■) [" bind-key R refresh-client bind-key : command-prompt @@ -48,7 +48,7 @@ bind-key Escape copy-mode -u bind-key Up copy-mode -u bind-key | split-window -h -bind-key \ split-window -h +bind-key \\ split-window -h bind-key = split-window -v bind-key - split-window -v #bind-key < swap-window -t :- @@ -95,35 +95,30 @@ set -g status-left '' # Basic status bar colors set -g status-fg colour240 set -g status-bg colour233 +set -g status-style bright # Left side of status bar -set -g status-left-bg colour233 -set -g status-left-fg colour243 set -g status-left-length 40 set -g status-left "#[fg=colour232,bg=colour39,bold] #I:#P #[fg=colour233,bg=colour240] #(id -nu) " # Right side of status bar -set -g status-right-bg colour233 -set -g status-right-fg colour243 set -g status-right-length 150 -set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] v7.3 " +set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] v8.1 " # Window status set -g window-status-format " #I:#W#F " set -g window-status-current-format " #I:#W#F " -# Current window status -set -g window-status-current-bg colour39 -set -g window-status-current-fg colour232 # Window with activity status -set -g window-status-activity-bg colour75 # fg and bg are flipped here due to -set -g window-status-activity-fg colour233 # a bug in tmux +#set-window-option -g window-status-current-style bright +set-window-option -g window-status-current-style fg=colour232 +set-window-option -g window-status-current-style bg=colour2 # Window separator set -g window-status-separator "" # Window status alignment set -g status-justify centre # Pane border -set -g pane-border-bg default -set -g pane-border-fg colour238 +set-option -g pane-active-border-style bg=default +set-option -g pane-active-border-style fg=colour238 # Active pane border -set -g pane-active-border-bg default -set -g pane-active-border-fg colour39 +set-option -g pane-active-border-style bg=default +set-option -g pane-active-border-style fg=colour39 # Pane number indicator set -g display-panes-colour colour233 set -g display-panes-active-colour colour245 @@ -131,11 +126,11 @@ set -g display-panes-active-colour colour245 set -g clock-mode-colour colour39 set -g clock-mode-style 24 # Message -set -g message-bg colour39 -set -g message-fg black +set -g message-style bg=colour39 +set -g message-style fg=red # Command message -set -g message-command-bg colour233 -set -g message-command-fg black +set -g message-command-style bg=colour233 +set -g message-command-style fg=red # Mode -set -g mode-bg colour39 -set -g mode-fg colour232 +set -g mode-style bg=colour39 +set -g mode-style fg=colour232