Add kitty shortcut for creating windows with cwd

This commit is contained in:
Natsu Kagami 2022-10-12 18:05:42 +02:00
parent 11e8194ea5
commit d885b3de4b
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -7,5 +7,10 @@ with lib;
programs.kitty = mkIf (cfg.enable && pkgs.stdenv.isLinux) { programs.kitty = mkIf (cfg.enable && pkgs.stdenv.isLinux) {
# set the shell # set the shell
settings.shell = "${config.programs.fish.package}/bin/fish"; settings.shell = "${config.programs.fish.package}/bin/fish";
keybindings = {
"ctrl+shift+n" = "new_os_window_with_cwd";
"ctrl+shift+enter" = "new_window_with_cwd";
};
}; };
} }