huge progress dump, impermanence

This commit is contained in:
Charlie Root 2024-09-20 15:45:44 +02:00
commit fce64637c2
13 changed files with 161 additions and 81 deletions

View file

@ -32,7 +32,7 @@ in {
];
services.emacs = {
enable = false;
enable = true;
package = custom-emacs;
};
};

View file

@ -7,7 +7,7 @@
}: let
cfg = config.modules.system.programs.editors.helix;
inherit (config.modules.other.system) username;
inherit (lib) mkIf;
inherit (lib) mkIf getExe;
in {
imports = [./languages.nix];
config = mkIf cfg.enable {
@ -39,7 +39,7 @@ in {
};
};
keys.normal = {
C-g = [":new" ":insert-output ${pkgs.gitui}" ":buffer-close!" ":redraw"];
C-g = [":new" ":insert-output ${getExe pkgs.lazygit}" ":buffer-close!" ":redraw"];
esc = ["collapse_selection" "keep_primary_selection"];
A-H = "goto_previous_buffer";
A-L = "goto_next_buffer";