From dd1c3a30cd6fb39bb97a9692e649d933c9d407a3 Mon Sep 17 00:00:00 2001 From: Phillip Kuznetsov Date: Thu, 6 Dec 2018 10:47:28 -0800 Subject: [PATCH] Adding configuration for remote tmux instances --- .tmux.conf | 9 +++++---- .tmux.conf.local | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index b650e6f..5dfce46 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -15,8 +15,9 @@ set -s escape-time 10 # faster command sequences set -sg repeat-time 600 # increase repeat timeout set -s focus-events on -set -g prefix2 C-a # GNU-Screen compatible prefix -bind C-a send-prefix -2 +set -g prefix C-b # GNU-Screen compatible prefix +bind C-b send-prefix +unbind C-a set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2) setw -q -g utf8 on @@ -32,8 +33,8 @@ bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced' # -- display ------------------------------------------------------------------- -set -g base-index 1 # start windows numbering at 1 -setw -g pane-base-index 1 # make pane numbering consistent with windows +set -g base-index 0 # start windows numbering at 1 +setw -g pane-base-index 0 # make pane numbering consistent with windows setw -g automatic-rename on # rename window to reflect current program set -g renumber-windows on # renumber windows when a window is closed diff --git a/.tmux.conf.local b/.tmux.conf.local index d68c789..9dca276 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -55,7 +55,7 @@ tmux_conf_theme_highlight_focused_pane=false # focused pane colours: tmux_conf_theme_focused_pane_fg='default' -tmux_conf_theme_focused_pane_bg='#0087d7' # light blue +tmux_conf_theme_focused_pane_bg='#008733' # light blue # pane border style, possible values are: # - thin (default) @@ -124,7 +124,7 @@ tmux_conf_theme_window_status_format='#I #W' # - #{username} # - #{username_ssh} tmux_conf_theme_window_status_current_fg='#000000' # black -tmux_conf_theme_window_status_current_bg='#00afff' # light blue +tmux_conf_theme_window_status_current_bg='#a4dffc' # light blue tmux_conf_theme_window_status_current_attr='bold' tmux_conf_theme_window_status_current_format='#I #W' #tmux_conf_theme_window_status_current_format='#{circled_window_index} #W' @@ -141,7 +141,7 @@ tmux_conf_theme_window_status_bell_bg='default' tmux_conf_theme_window_status_bell_attr='blink,bold' # window last status style -tmux_conf_theme_window_status_last_fg='#00afff' # light blue +tmux_conf_theme_window_status_last_fg='#a4dffc' # light blue tmux_conf_theme_window_status_last_bg='default' tmux_conf_theme_window_status_last_attr='none' @@ -179,11 +179,11 @@ tmux_conf_theme_right_separator_sub='|' # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=' ❐ #S | ↑#{?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}' # status left style -tmux_conf_theme_status_left_fg='#000000,#e4e4e4,#e4e4e4' # black, white , white -tmux_conf_theme_status_left_bg='#ffff00,#ff00af,#00afff' # yellow, pink, white blue +tmux_conf_theme_status_left_fg='#000000,#000000,#e4e4e4' # black, white , white +tmux_conf_theme_status_left_bg='#ffffc1,#ffd6f2,#00afff' # yellow, pink, white blue tmux_conf_theme_status_left_attr='bold,none,none' # status right style