From 0e0ccf6fddee31e760586c2018520df2f65a6a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 24 Oct 2023 11:10:00 +0300 Subject: [PATCH] tmux pane_current_path --- shared/home/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shared/home/default.nix b/shared/home/default.nix index 5fc6cda..9c3bf48 100644 --- a/shared/home/default.nix +++ b/shared/home/default.nix @@ -119,5 +119,10 @@ in { enable = true; keyMode = "vi"; historyLimit = 1000000; + extraConfig = '' + bind c new-window -c "#{pane_current_path}" + bind % split-window -h -c "#{pane_current_path}" + bind '"' split-window -v -c "#{pane_current_path}" + ''; }; }