diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-11-20 20:33:13 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-11-20 20:33:13 +0000 |
| commit | 6b1b61f98813a58286e099d92767e01c2d40bc18 (patch) | |
| tree | a3613fba312e0f324bdbca28ec3d3d0b5e6f6e13 /tmux | |
| parent | 6a0e18aab79cefa8cd4917e9a6d121349f41eb3f (diff) | |
Redo deploy script
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 |
