summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--tmux/tmux.conf18
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index fa6ebfb..a892858 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/*
!nvim
!zsh
+!tmux
!.gitignore
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
+