diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2022-05-04 02:10:28 +0100 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2022-05-04 02:10:28 +0100 |
commit | 8594a505dcbec46bbac28be5b9ceb5ac2cd1a3a6 (patch) | |
tree | f96ea4dee378fb939455d517b1ba16bc73d3ef37 /tmux.conf |
Initial commit
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..7065dd0 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,75 @@ +# .tmux.conf + +set -g default-command "${SHELL}" +set -g history-limit 500000 +set -g status-right "#{host} - %Y-%m-%d %H:%M" +set -s default-terminal "screen-256color" +set -gs escape-time 0 +set -g allow-rename off +bind r source-file ~/.tmux.conf +bind-key C-r command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"ssh %1\"" +bind-key C-m command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"mosh %1\"" +set -g mouse on + +unbind C-b +set -g prefix C-x +bind C-x send-prefix + +set -g set-titles on +set -g base-index 1 +setw -g pane-base-index 1 + + +bind c new-window -c "#{pane_current_path}" + +###################### +### DESIGN CHANGES ### +###################### + +# loud or quiet? +set -g visual-activity off +set -g visual-bell off +set -g visual-silence off +setw -g monitor-activity off +set -g bell-action none + +# THEME +set -g status-style bg=default + +setw -g window-style 'bg=#040404' +setw -g window-active-style 'bg=#000000' +setw -g pane-active-border-style '' + +## highlight activity in status bar +setw -g window-status-activity-style fg="#88bbbb" +setw -g window-status-activity-style bg="#111122" + +set -g message-style bg="#77bbbb" +set -g message-style fg="#000000" + +set -g message-command-style bg="#77bbbb" +set -g message-command-style fg="#000000" + +# message bar or "prompt" +set -g message-style bg="#202020" +set -g message-style fg="#dd99dd" + +set -g mode-style bg="#111122" +set -g mode-style fg="#dd9955" + +# right side of status bar holds "[host name] (date time)" +set -g status-left-length 15 +set -g status-right-style bold +set -g status-right '#[fg=#cc6699,bg=#2d2d2d] #{host}|#[fg=#ff9966] %H:%M |#[fg=#6699cc] %y.%m.%d ' + +# Tabs +set-window-option -g window-status-style bg=default +set-window-option -g window-status-style fg=white +set-window-option -g window-status-style none +set-window-option -g window-status-format '#[fg=#556655,bg=#444444] #I #[fg=#cccccc,bg=#555555] #W #[default]' +set-window-option -g window-status-current-style none +set-window-option -g window-status-current-format '#[fg=#ffdd99,bg=#222222] #I #[fg=#cccccc,bg=#333333] #W #[default]' + +# Window borders +set -g pane-border-style fg="#aaaaaa" +set -g pane-active-border-style fg="#ee9955" |