From 597cc6edb00f87aae1fe74f5a211c2c0282bf946 Mon Sep 17 00:00:00 2001 From: yorick Barbanneau Date: Thu, 11 Oct 2018 19:46:23 +0200 Subject: [PATCH 1/3] Change defaut-terminal option --- tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 3191764..5c09253 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" From 418691609caa8388bc6f2e81c24bda71dd22e1fd Mon Sep 17 00:00:00 2001 From: yorick Barbanneau Date: Thu, 11 Oct 2018 20:08:47 +0200 Subject: [PATCH 2/3] Panes number start now at 1 \o/ --- tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmux.conf b/tmux.conf index 5c09253..dfc53c4 100644 --- a/tmux.conf +++ b/tmux.conf @@ -7,6 +7,8 @@ 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 From 61e3a949ff117318a0657eb79c74c71383d0b224 Mon Sep 17 00:00:00 2001 From: yorick Barbanneau Date: Thu, 11 Oct 2018 23:46:35 +0200 Subject: [PATCH 3/3] Rework theme and remove unwanted plugins --- tmux.conf | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/tmux.conf b/tmux.conf index dfc53c4..d45a178 100644 --- a/tmux.conf +++ b/tmux.conf @@ -9,6 +9,7 @@ bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= set -g base-index 1 set -gw pane-base-index 1 + unbind C-b set -g prefix C-q bind C-q send-prefix @@ -22,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'"