summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix
index 7d5f520..d2d511a 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -186,8 +186,8 @@ in {
setw -g mouse on
## Panes
# Split panes
- bind-key | split-window -h
- bind-key - split-window -v
+ bind-key | split-window -h -c "#{pane_current_path}"
+ bind-key - split-window -v -c "#{pane_current_path}"
# Send/join panes
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"