From 614c7c6e1f8f2245832f06fbba0db172ff04fccf Mon Sep 17 00:00:00 2001
From: David Li
Date: Sat, 19 Nov 2016 08:28:42 -0500
Subject: Add basic tmux config
---
tmux.conf | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 tmux.conf
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..d7e7ff0
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,45 @@
+# Remap prefix
+set -g prefix C-o
+unbind C-b
+bind C-o send-prefix
+
+# force a reload of the config file
+unbind r
+bind r source-file ~/.tmux.conf
+
+# address vim mode switching delay (http://superuser.com/a/252717/65504)
+set -s escape-time 0
+
+# increase scrollback buffer size
+set -g history-limit 50000
+
+# tmux messages are displayed for 4 seconds
+set -g display-time 4000
+
+# refresh 'status-left' and 'status-right' more often
+set -g status-interval 5
+
+# Emacs-ish pane cycling
+unbind o
+bind o select-pane -t :.+
+
+# Set the terminal
+set -g default-terminal "tmux"
+
+# Use mouse highlighting
+set -g mouse on
+
+# focus events enabled for terminals that support them
+set -g focus-events on
+
+# Use windows like tabs
+bind -n S-down new-window
+bind -n S-left prev
+bind -n S-right next
+bind -n C-left swap-window -t -1
+bind -n C-right swap-window -t +1
+
+# Status bar
+# set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
+
+# TODO: put this in Git
--
cgit v1.2.3