helix/module.nix: switch from lazygit to gitui

This commit is contained in:
Charlie Root 2024-09-16 21:02:01 +02:00
commit 2132807fbd

View file

@ -2,6 +2,7 @@
config, config,
lib, lib,
self', self',
pkgs,
... ...
}: let }: let
cfg = config.modules.system.programs.editors.helix; cfg = config.modules.system.programs.editors.helix;
@ -38,7 +39,7 @@ in {
}; };
}; };
keys.normal = { keys.normal = {
C-g = [":new" ":insert-output lazygit" ":buffer-close!" ":redraw"]; C-g = [":new" ":insert-output ${pkgs.gitui}" ":buffer-close!" ":redraw"];
esc = ["collapse_selection" "keep_primary_selection"]; esc = ["collapse_selection" "keep_primary_selection"];
A-H = "goto_previous_buffer"; A-H = "goto_previous_buffer";
A-L = "goto_next_buffer"; A-L = "goto_next_buffer";