now creating a new pane will retain the previous working directory

This commit is contained in:
aminnairi
2023-12-06 11:59:51 +01:00
parent 316be4d453
commit 1565b52d84
+4
View File
@@ -32,6 +32,10 @@ bind C new-session
# split panes using | and - and use the current working directory
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# Create new window with current path
bind c new-window -c "#{pane_current_path}"
unbind '"'
unbind %