summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
new file mode 100644
index 0000000..f4b9ebc
--- /dev/null
+++ b/tmux/tmux.conf
@@ -0,0 +1,18 @@
+unbind r
+bind r source-file ~/.tmux.conf
+
+set -g mouse on
+
+# allows to use vim bindings in scroll mode - key [
+set-window-option -g mode-keys vi
+
+# switch between panes using vim binds
+
+unbind C-S-h
+unbind C-S-l
+
+bind-key -n C-S-h select-pane -L
+bind-key -n C-S-j select-pane -D
+bind-key -n C-S-k select-pane -U
+bind-key -n C-S-l select-pane -R
+