From 66207b1ad9f4c63885260fb91323f1556ababa5b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 26 Jul 2023 10:29:53 -0400 Subject: tmux: split pane into current directory holy crap i've wanted this forever --- lib/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 '%%'" -- cgit v1.2.3