From b5a5dede52e3921dbeee7c4cec9342efb028ad23 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 31 Aug 2023 10:23:44 -0400 Subject: [PATCH] tmux: launch panes in current dir --- modules/cli/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cli/default.nix b/modules/cli/default.nix index fe26daa..70be637 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -114,6 +114,8 @@ in terminal = "screen-256color"; extraConfig = '' bind-key j command-prompt -p "Join pane:" "join-pane -s '%%'" + bind-key '"' split-window -v -c "#{pane_current_path}" + bind-key '%' split-window -h -c "#{pane_current_path}" set -g base-index 1 set -g pane-base-index 1 set -g renumber-windows on