diff options
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.tmux.conf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..ee7985f --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,43 @@ +bind-key Up select-pane -U +bind-key Down select-pane -D +bind-key Left select-pane -L +bind-key Right select-pane -R + +color_status_text="colour245" +color_window_off_status_bg="colour238" +color_light="white" #colour015 +color_dark="colour232" # black= colour232 +color_window_off_status_current_bg="colour254" + +bind -T root F12 \ + set prefix None \;\ + set key-table off \;\ + set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\ + if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\ + refresh-client -S \;\ + +bind -T off F12 \ + set -u prefix \;\ + set -u key-table \;\ + set -u status-style \;\ + set -u window-status-current-style \;\ + set -u window-status-current-format \;\ + refresh-client -S + +wg_is_keys_off="#[fg=$color_light,bg=$color_window_off_indicator]#([ $(tmux show-option -qv key-table) = 'off' ] && echo 'OFF')#[default]" + +set -g status-right " \"#{=21:pane_title}\" %H:%M %d-%b-%y" +set -g window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" +set -g window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W* #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" + +set -sg escape-time 10 + +set-option -g renumber-windows on +set -g base-index 1 +setw -g pane-base-index 1 + +set-window-option -g mode-keys vi + +set -g mouse on + +set-option -g history-limit 60000 |
