summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmux/.tmux.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..bbd39bb
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,26 @@
+unbind C-a
+unbind C-b
+set -g prefix C-a
+
+unbind r
+bind r source-file $HOME/.tmux.conf
+
+set -g mouse off
+
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+bind -r M-h resize-pane -L 5
+bind -r M-j resize-pane -D 5
+bind -r M-k resize-pane -U 5
+bind -r M-l resize-pane -R 5
+
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+set -g @plugin 'tmux-plugins/tmux-continuum'
+
+set -g @continuum-restore 'on'
+
+run $HOME/.tmux/plugins/tpm/tpm