From cce2a67fd24d85e0ab9a44f274ee14cd3be69118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 4 Jul 2022 11:28:31 +0200 Subject: [PATCH] Update tmux config --- .tmux.conf | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index fae720c..3ce0540 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -33,32 +33,16 @@ set-window-option -g status-right " #{prefix_highlight} \"#(hostname)\" %H:%M %d set-window-option -g window-status-format " #I: #W " set-window-option -g window-status-current-format " #I: #W " -# Vim integration -# See: https://github.com/christoomey/vim-tmux-navigator -is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?x?)(diff)?$"' -bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" -bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" -bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" -bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R" -set -g default-terminal "screen-256color" -# bind -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"" - -# Extrakto -set -g @extrakto_split_direction v -set -g @extrakto_split_size 15 - # Plugins (Keep this last) set -g @plugin 'tmux-plugins/tpm' -# set -g @plugin 'tmux-plugins/tmux-battery' set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-open' -# set -g @plugin 'tmux-plugins/tmux-online-status' set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'laktak/extrakto' -# set -g @plugin 'seebi/tmux-colors-solarized' - set -g @plugin 'jimeh/tmux-themepack' +set -g @plugin 'jimeh/tmux-themepack' +set -g @plugin 'christoomey/vim-tmux-navigator' run '~/.tmux/plugins/tpm/tpm' #ZSH set -g default-shell /bin/zsh