From d885b3de4b646bdd9b490ad95c6f1e5ed31d5b8f Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 12 Oct 2022 18:05:42 +0200 Subject: [PATCH] Add kitty shortcut for creating windows with cwd --- home/modules/programs/my-kitty/linux.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/modules/programs/my-kitty/linux.nix b/home/modules/programs/my-kitty/linux.nix index 8090c46..fe745be 100644 --- a/home/modules/programs/my-kitty/linux.nix +++ b/home/modules/programs/my-kitty/linux.nix @@ -7,5 +7,10 @@ with lib; programs.kitty = mkIf (cfg.enable && pkgs.stdenv.isLinux) { # set the shell settings.shell = "${config.programs.fish.package}/bin/fish"; + + keybindings = { + "ctrl+shift+n" = "new_os_window_with_cwd"; + "ctrl+shift+enter" = "new_window_with_cwd"; + }; }; }