From 58297ce697330b62f77cdb44277ba20db3a57057 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 10 Jul 2023 16:02:31 +0200 Subject: [PATCH] tmux: Place new window after the current one --- .config/tmux/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index c0ca623..84d939d 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -51,8 +51,8 @@ bind < splitw -v -c "#{pane_current_path}" unbind '"' bind > splitw -h -c "#{pane_current_path}" -# Create new window in current path -bind c neww -c "#{pane_current_path}" +# Create new window with CWD as PWD and place it after the current one +bind c neww -a -c "#{pane_current_path}" -t #{active_window_index} # Resource config bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \