tmux: 分割窗口时保持相同的工作目录

This commit is contained in:
zedhugh committed 2025-11-01 12:38:46 +08:00
1 parent 8b45af1ba9
commit 7c92dac1c0
1 file changed
+3
+3
View File
@@ -6,3 +6,6 @@ bind-key M-Space send-prefix
# set ` as secondary prefix # set ` as secondary prefix
set -g prefix2 ` set -g prefix2 `
bind-key ` send-prefix -2 bind-key ` send-prefix -2
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -hc "#{pane_current_path}"