From 0be5c026a79ca2f4620e3fe67445b6f27f6861f7 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 30 Mar 2025 18:17:37 -0400 Subject: [PATCH] adjust lazygit which is still not perfect --- .../home-manager/modules/nmasur/presets/programs/helix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix index 59ecf5f..c79cf07 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix @@ -123,13 +123,16 @@ in keys.normal = { # Enable and disable inlay hints space.H = ":toggle lsp.display-inlay-hints"; + + # Open lazygit + # Unfortunately, this breaks mouse input and the terminal after quitting Helix space.l = [ ":write-all" ":new" ":insert-output ${lib.getExe pkgs.lazygit}" ":buffer-close!" - # ":redraw" - # ":reload-all" + ":redraw" + ":reload-all" ]; # Open yazi