From eb3d306997044d61933d3da08d4483ecc656dde9 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Thu, 27 May 2021 21:30:21 +0200 Subject: [PATCH] update --- conf/tmux.conf | 20 ++++++++++++++------ conf/tmux.conf.local | 11 +++++++---- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/conf/tmux.conf b/conf/tmux.conf index a547688..709b834 100644 --- a/conf/tmux.conf +++ b/conf/tmux.conf @@ -67,12 +67,20 @@ bind - split-window -v bind | split-window -h # pane navigation -bind -r h select-pane -L # move left -bind -r j select-pane -D # move down -bind -r k select-pane -U # move up -bind -r l select-pane -R # move right -bind > swap-pane -D # swap current pane with the next one -bind < swap-pane -U # swap current pane with the previous one +unbind h +unbind j +unbind k +unbind l +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 +# bind -r h select-pane -L # move left +# bind -r j select-pane -D # move down +# bind -r k select-pane -U # move up +# bind -r l select-pane -R # move right +bind -n M-> swap-pane -D # swap current pane with the next one +bind -n M-< swap-pane -U # swap current pane with the previous one # maximize current pane bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' diff --git a/conf/tmux.conf.local b/conf/tmux.conf.local index 61a0bdc..267489e 100644 --- a/conf/tmux.conf.local +++ b/conf/tmux.conf.local @@ -218,7 +218,8 @@ tmux_conf_theme_right_separator_sub="|" # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=" ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} " -tmux_conf_theme_status_right="#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} " +# tmux_conf_theme_status_right="#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} " +tmux_conf_theme_status_right="#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} | #{username}#{root} | #{hostname} " # status left style tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8" @@ -357,9 +358,9 @@ bind C-a send-prefix # "$@" # # /!\ do not remove the previous line # -set -g @tpm_plugins ' \ - tmux-plugins/tpm \ - dracula/tmux \ +set -g @tpm_plugins ' \ + tmux-plugins/tpm \ + dracula/tmux \ ' set -g @dracula-show-fahrenheit false @@ -368,6 +369,8 @@ set -g @dracula-show-powerline true set -g @dracula-show-network false set -g @dracula-show-powerline true set -g @dracula-show-battery false +set -g @dracula-show-timezone false +set -g @dracula-military-time true # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm'