summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/tmux/.tmux.conf46
1 files changed, 46 insertions, 0 deletions
diff --git a/public/tmux/.tmux.conf b/public/tmux/.tmux.conf
new file mode 100644
index 0000000..1ace947
--- /dev/null
+++ b/public/tmux/.tmux.conf
@@ -0,0 +1,46 @@
+# Enable mouse mode
+set -g mouse on
+set -g focus-events on
+
+# scrollback buffer
+set-option -g history-limit 3000000
+
+# 10ms escape time
+set-option -sg escape-time 10
+
+# Don't rename windows automatically
+set-option -g allow-rename off
+
+# Remove the right status bar
+set-option -g status-right ""
+
+set-option -g status-style fg=white,bg=black
+
+# Split panes using | and -
+bind | split-window -h
+bind - split-window -v
+unbind '"'
+unbind %
+
+# Synchronize panes using C-x
+bind -n C-x setw synchronize-panes
+
+# Reload config file using r
+bind r source-file ~/.tmux.conf
+
+# List of plugins
+#set -g @plugin 'tmux-plugins/tpm'
+#set -g @plugin 'tmux-plugins/tmux-sensible'
+
+set -g @scroll-down-exit-copy-mode "off"
+set -g @scroll-in-moused-over-pane "off"
+set -g @scroll-speed-num-lines-per-scroll "1"
+set -g @emulate-scroll-for-no-mouse-alternate-buffer "on"
+
+
+# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
+#run -b '~/.tmux/plugins/tpm/tpm'
+
+# Fixes colors
+set -g default-terminal "xterm-256color"
+set -ga terminal-overrides ",*256col*:Tc"