From 2ef2ca2982badbad5c81332349b402384a76b40b Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Fri, 21 Jan 2022 11:01:50 +0100 Subject: [PATCH] allways fixing tmux config --- .tmux.conf.local | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.tmux.conf.local b/.tmux.conf.local index 78b5ce3..be15a02 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -230,7 +230,7 @@ tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=" ❐ #S " -tmux_conf_theme_status_right=" #{prefix}#{pairing}#{synchronized} ,#{?battery_status,#{battery_status},}#{?battery_vbar, #{battery_vbar},}#{?battery_percentage, #{battery_percentage}, }#{weather}, #{cpu_fg_color} #{cpu_percentage} #{ram_fg_color} #{ram_percentage}#{?cpu_temp, #{cpu_temp_fg_color}#{cpu_temp_icon}#{cpu_temp},} , %R , %d %b |#{root}" +tmux_conf_theme_status_right=" #{prefix}#{pairing}#{synchronized} ,#{?battery_status,#{battery_status},}#{?battery_vbar, #{battery_vbar},}#{?battery_percentage, #{battery_percentage}, }#{weather}, #{cpu_fg_color} #{cpu_percentage} #{ram_fg_color} #{ram_percentage} #{cpu_temp_fg_color}#{cpu_temp_icon}#{cpu_temp} , %R , %d %b |#{root}" # status left style tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8" @@ -431,6 +431,10 @@ unbind _ bind | split-window -h set -g status-right-length 10 +# fixes + e for non-vi user +unbind e +bind e new-window -n "~/.tmux.conf.local" "\$EDITOR ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"" + # Local Variables: # vc-follow-symlinks: t