aboutsummaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..d5a5fe3
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,31 @@
+set -g default-terminal "screen-256color"
+
+# Remove nasty escape time
+set -sg escape-time 0
+
+# Enable mouse scroll
+setw -g mouse on
+
+# Use C-a as prefix
+unbind C-b
+set-option -g prefix C-a
+bind-key C-a send-prefix
+
+# Split panes using | and -
+bind | split-window -h
+bind - split-window -v
+unbind '"'
+
+# Copy
+bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'nbind %
+
+# Vi mode
+set-window-option -g mode-keys vi
+
+set -g main-pane-width 156
+
+# Plugins
+set -g @plugin 'christoomey/vim-tmux-navigator'
+
+# Initialize Tmux Plugin Manager
+run '~/.tmux/plugins/tpm/tpm'