summaryrefslogtreecommitdiffstats
path: root/tmux
diff options
context:
space:
mode:
authorRevaz Nakhutsrishvili <r@revaz.xyz>2025-05-03 12:37:02 +0400
committerRevaz Nakhutsrishvili <r@revaz.xyz>2025-05-03 12:37:02 +0400
commit809a810fcde44217c70c7b6f5b43ec8906a68fab (patch)
treed381f5e48d9f1e18a2262a4f21b9f6e70083f89c /tmux
parent2a259a9b94e0ec147b3dd7ebfdfad71a151d0f29 (diff)
tmux: setup tmux
Diffstat (limited to 'tmux')
-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