From 443484144f927bd2a23234d8cd2b6f9c71cc6b25 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 24 Sep 2024 13:28:09 +0100 Subject: Add tmux config --- tmux/.tmux.conf | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tmux/.tmux.conf diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..9b839df --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,53 @@ +set-option -as terminal-features ',xterm-256color:RGB' +setw -g mode-keys vi + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'AngryMorrocoy/tmux-neolazygit' +set -g @plugin 'joshmedeski/tmux-nerd-font-window-name' +set -g @plugin 'tmux-plugins/tmux-open' +set -g @plugin 'tmux-plugins/tmux-pain-control' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' + +# DESIGN TWEAKS + +# don't do anything when a 'bell' rings +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 + +# clock mode +setw -g clock-mode-colour colour1 + +# copy mode +setw -g mode-style 'fg=colour1 bg=colour18 bold' + +# pane borders +set -g pane-border-style 'fg=colour1 dim' +set -g pane-active-border-style 'fg=colour7 dim' + +# statusbar +set -g status-position bottom +set -g status-justify left +set -g status-style 'fg=colour1' +set -g status-left '' +set -g status-right '%Y-%m-%d %H:%M ' +set -g status-right-length 50 +set -g status-left-length 10 + +setw -g window-status-current-style 'fg=terminal bg=colour9 bold' +setw -g window-status-current-format ' #I #W #F ' + +setw -g window-status-style 'fg=colour1 dim' +setw -g window-status-format ' #I #[fg=terminal dim]#W #[fg=colour1 dim]#F ' + +setw -g window-status-bell-style 'fg=colour2 bg=colour9 bold' + +# messages +set -g message-style 'fg=terminal bg=terminal bold' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3