aboutsummaryrefslogtreecommitdiffstats
path: root/.config/tmux/options.tmux
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-17 10:40:11 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-17 10:40:11 -0700
commitea127689e0ae2d39b49004be605e541ff80e2621 (patch)
treeabbe79e5e37792bd8ebea8f9ac788ff5b8aed704 /.config/tmux/options.tmux
downloadopenbsd-dotfiles-ea127689e0ae2d39b49004be605e541ff80e2621.zip
Initial Commit
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..7cb9075
--- /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
+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