From ca530f156e736006538c188c9b0a2b67e1d4dade Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Tue, 2 Nov 2021 16:33:32 -0300 Subject: [PATCH] Update tmux config --- home/tmux.conf | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/home/tmux.conf b/home/tmux.conf index cb2e538..1997e87 100644 --- a/home/tmux.conf +++ b/home/tmux.conf @@ -15,14 +15,14 @@ bind - split-window -v unbind '"' unbind % -# switch panes using Alt-arrow without prefix -bind -n M-Left select-pane -L -bind -n M-Right select-pane -R -bind -n M-Up select-pane -U -bind -n M-Down select-pane -D +# switch panes using vi keys +bind h select-pane -L +bind l select-pane -R +bind k select-pane -U +bind j select-pane -D # don't rename windows automatically -set-option -g allow-rename off +#set-option -g allow-rename off # reload config file (change file location to your the tmux.conf you want to use) bind r source-file ~/.tmux.conf @@ -58,22 +58,19 @@ set -g pane-active-border-style 'bg=colour0 fg=colour9' set -g status-position bottom set -g status-justify left set -g status-style 'bg=colour234 fg=colour255' -set -g status-left '#[fg=colour255,bg=colour234]  ' -set -g status-right '#[fg=colour255,bg=colour27]  %d/%m  %H:%M ' +set -g status-left '#[fg=colour255,bg=colour234]  ' +set -g status-right '#[bg=colour234,fg=colour27]#[fg=colour255,bg=colour27]  %d/%m  %H:%M ' set -g status-right-length 50 set -g status-left-length 20 -setw -g window-status-current-format '#[bg=colour27,fg=colour184] #I#[fg=colour255]-#W#F ' +setw -g window-status-current-format '#[fg=colour234,bg=colour27]#[bg=colour27,fg=colour184] #I#[fg=colour255]-#W #[bg=colour234,fg=colour27]' -setw -g window-status-format '#[bg=colour237,fg=colour184] #I#[fg=colour255]-#W#F ' +setw -g window-status-format '#[fg=colour234,bg=colour237]#[bg=colour237,fg=colour184] #I#[fg=colour255]-#W #[bg=colour234,fg=colour237]' setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold' # messages -set -g message-style 'fg=colour232 bg=colour12 bold' +set -g message-style 'bg=colour27 fg=white' - - - -# SET DEFAULT SHELL: +# set default shell set-option -g default-shell $SHELL