diff --git a/tmux.conf b/tmux.conf index 3191764..d45a178 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,4 +1,5 @@ -set -g default-terminal "screen-256color" +set -ga terminal-overrides ",xterm-256color:Tc" +set -g default-terminal tmux-256color setw -g aggressive-resize on set -g set-titles on set -g set-titles-string "#T" @@ -6,6 +7,9 @@ bind R source-file ~/.tmux.conf \; display-message " Config reloaded..." set -g mouse on bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" +set -g base-index 1 +set -gw pane-base-index 1 + unbind C-b set -g prefix C-q bind C-q send-prefix @@ -19,11 +23,25 @@ set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection -# List of my plugins -set -g @plugin 'jimeh/tmux-themepack' +# Look +set -g status-bg colour234 +set -g status-fg colour21 + +setw -g window-status-current-fg colour234 +setw -g window-status-current-bg colour8 +setw -g window-status-current-attr bold +setw -g window-status-current-format '#[fg=colour1,bg=colour8] #I #[fg=colour7]#W #[fg=colour13]#F #[bg=colour234,fg=colour8]' + +setw -g window-status-fg colour21 +setw -g window-status-bg colour234 +setw -g window-status-attr none +setw -g window-status-format ' #I #W #[fg=colour8]#F ' + +set -g status-left "#[fg=colour19,bg=colour3] #[fg=colour3,bg=colour234] " +set -g status-right "#[fg=colour19,bg=colour234]#[fg=colour21,bg=colour19] %H:%M #[fg=colour3,bg=colour19]#[fg=colour0,bg=colour3,bold] #H " + +# List of my plugins -#themepack pluging parameters -set -g @themepack 'default/blue' if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'"