From 570ea1689e03ba4e8086a12a34f3068c766654a9 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Sun, 4 Feb 2024 14:17:40 +0100 Subject: [PATCH] tmux: start split panes in current directory --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index e653465..1456ca9 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -52,3 +52,6 @@ set-environment -g COLORTERM "truecolor" # Display messages longer (ms) #set-option -g display-time 4000 +# Splits start with $PWD from source pane +bind '"' split-window -v -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}"