From 2e35b6495ce70ddd9f1340e1e61ff568599264da Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 4 Jun 2020 14:41:31 -0400 Subject: [PATCH] Persist PWD in new tmux windows/splits --- config/tmux/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/tmux/config b/config/tmux/config index 842f831d..44e71b55 100644 --- a/config/tmux/config +++ b/config/tmux/config @@ -43,8 +43,9 @@ bind C-c send-prefix set -g status-keys vi set -g mode-keys vi -bind v split-window -h -bind s split-window -v +bind c new-window -c "#{pane_current_path}" +bind v split-window -h -c "#{pane_current_path}" +bind s split-window -v -c "#{pane_current_path}" bind h select-pane -L bind j select-pane -D