aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2015-12-28 13:52:48 -0500
committerMitch Riedstra <mitch@riedstra.us>2015-12-28 13:52:48 -0500
commitd32ab30dc3611481cb55ce7b18bb1a80352f9146 (patch)
tree0b3ee3c8fefbfc8dfa98349bb22fc9ca1358137a /tmux.conf
downloaddotfiles-d32ab30dc3611481cb55ce7b18bb1a80352f9146.tar.gz
dotfiles-d32ab30dc3611481cb55ce7b18bb1a80352f9146.tar.xz
Initial
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..a94f717
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,39 @@
+set -g status-bg cyan
+set -g status-fg black
+set-window-option -g window-status-current-bg black
+set-window-option -g window-status-current-fg cyan
+bind M-s setw synchronize-panes
+
+# set -g mode-mouse on
+setw -g mode-keys vi
+setw -g aggressive-resize on
+set -g default-terminal "screen-256color"
+
+
+# Don't let command rename our windows
+set-option -g allow-rename off
+
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
+# Fix for certian applications such as Nvim
+set -s escape-time 0
+
+
+bind-key M-k select-pane -U
+bind-key M-j select-pane -D
+bind-key M-h select-pane -L
+bind-key M-l select-pane -R
+
+# If you still want to select text out of the terminal as you normally would
+# You should hold the shift key ( Linux ) I'm told it's "Option on Mac OS X"
+set -g mouse on
+
+# Old mouse method
+# set-option -g mode-mouse on
+# set-option -g mouse-resize-pane on
+# set-option -g mouse-select-pane on
+# set-option -g mouse-select-window on
+
+
+source ~/.tmux.conf.local