summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2024-09-24 13:28:09 +0100
committerMichaël Ball <michael.ball@krotosaudio.com>2024-09-24 13:28:09 +0100
commit443484144f927bd2a23234d8cd2b6f9c71cc6b25 (patch)
treec4e5c04d3e479bb0274a7b63c72ce5b2f376a7b1
parentf7983ed604f7d4a5330cbb20ce499a260af377a2 (diff)
Add tmux config
-rw-r--r--tmux/.tmux.conf53
1 files changed, 53 insertions, 0 deletions
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'