aboutsummaryrefslogtreecommitdiffstats
path: root/.config/tmux/options.tmux
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:53:14 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:54:02 -0500
commit7b6dbb921650e2a52929f025b67be57609fda6d4 (patch)
tree895416312698cfe4ac61d4eed0f071d7743c0214 /.config/tmux/options.tmux
parentRemove openbsd conditional in zsh (diff)
downloaddotfiles-7b6dbb921650e2a52929f025b67be57609fda6d4.zip
Rework dotfiles to *only* contain dotfiles
Diffstat (limited to '.config/tmux/options.tmux')
-rw-r--r--.config/tmux/options.tmux40
1 files changed, 40 insertions, 0 deletions
diff --git a/.config/tmux/options.tmux b/.config/tmux/options.tmux
new file mode 100644
index 0000000..c4e1ee6
--- /dev/null
+++ b/.config/tmux/options.tmux
@@ -0,0 +1,40 @@
+# Don't rename windows automatically.
+#
+# I often will use the `,` key to rename windows.
+# However, by default, tmux will update the window
+# title to the last executed command.
+set-option -g allow-rename off
+
+# Enable mouse support (clickable windows, panes, resizable panes)
+set-option -g mouse on
+
+# Enable system clipboard integration (macOS)
+set-option -g set-clipboard on
+
+# Allow focus events (for editors like Neovim)
+set -g focus-events on
+
+# Start windows and panes at 1, not 0
+set-option -g base-index 1
+set-option -g pane-base-index 1
+set-window-option -g pane-base-index 1
+set-option -g renumber-windows on
+
+set-option -g status-position top
+
+# Don't do anything when a 'bell' rings
+set-option -g visual-activity off
+set-option -g visual-bell off
+set-option -g visual-silence off
+set-window-option -g monitor-activity off
+set-option -g bell-action none
+
+# Enable hyperlinks
+set-option -as terminal-features ",*:hyperlinks"
+
+# Enable true color support
+set -ga terminal-overrides ",*256col*:Tc"
+set -ga terminal-overrides ",tmux-256color:Tc"
+
+set -g default-terminal "tmux-256color"
+set -g default-shell $SHELL