From 03c4401825db0eee1a92838ba53df823e55f28f5 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sun, 9 Nov 2025 06:49:16 +0100 Subject: Open new tmux windows at the same path --- tmux/tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index f38245f..2b94e06 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -22,8 +22,9 @@ bind-key l select-pane -R set-window-option -g window-status-current-style 'bg=brightwhite' set-window-option -g window-status-current-format ' #I:#W ' -# open pane splits at the same path as current pane +# open pane splits and windows at the same path as current pane bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +bind "c" new-window -c "#{pane_current_path}" set-window-option -g status-right '#[bg=brightwhite] %H:%M #[default]#($HOME/.config/tmux/battery.sh)' -- cgit v1.3.1