feat(zellij): Added custom keybinds for zellij normal modes

This commit is contained in:
uttarayan21
2024-03-25 05:00:23 +05:30
parent b238d71cda
commit c6f326f64c
6 changed files with 123 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
inputs,
pkgs,
device,
osConfig,
# osConfig,
...
}: {
imports = [inputs.anyrun.nixosModules.home-manager];
@@ -32,10 +32,10 @@
extraConfigFiles = {
"nixos-options.ron".text = let
nixos-options =
pkgs.lib.optionalString device.isNix
osConfig.system.build.manual.optionsJSON
+ "/share/doc/nixos/options.json";
# nixos-options =
# pkgs.lib.optionalString device.isNix
# osConfig.system.build.manual.optionsJSON
# + "/share/doc/nixos/options.json";
hm-options =
inputs.home-manager.packages.${pkgs.system}.docs-json
+ "/share/doc/home-manager/options.json";
@@ -48,14 +48,14 @@
# ":something-else" = [some-other-option];
# ":nall" = [nixos-options hm-options some-other-option];
# };
options = builtins.toJSON ({
":hm" = [hm-options];
}
// (
if device.isNix
then {":nix" = [nixos-options];}
else {}
));
options = builtins.toJSON {
":hm" = [hm-options];
};
# // (
# if device.isNix
# then {":nix" = [nixos-options];}
# else {}
# ));
in ''
Config(
options: ${options},