From 6ac375f9be05eb2c36d99334da8c5ec3bb310b69 Mon Sep 17 00:00:00 2001
From: ed <ed@brz9.dev>
Date: Sun, 4 Apr 2021 09:52:02 +0200
Subject: [PATCH] tmux added

---
 tmuxrc | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 tmuxrc

diff --git a/tmuxrc b/tmuxrc
new file mode 100644
index 0000000..89b8c65
--- /dev/null
+++ b/tmuxrc
@@ -0,0 +1,21 @@
+# Use Shift and arrows to switch panes
+bind -n S-Left select-pane -L
+bind -n S-Up select-pane -U
+bind -n S-Down select-pane -D
+bind -n S-Right select-pane -R
+
+# Set split keys
+bind-key m split-window -v -c "#{pane_current_path}"
+bind-key l split-window -h -c "#{pane_current_path}"
+
+bind-key Escape copy-mode
+bind-key p paste-buffer
+bind-key P choose-buffer
+
+# Easy config reload
+bind-key r source-file ~/dot/tmuxrc \
+
+set -g default-terminal "st-256color"
+set -g prefix C-Space
+bind C-Space send-prefix
+