From 5bab2aa86fefccaf11277eaba861125f40e4d97c Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 19 Jun 2025 18:58:34 +0200 Subject: [PATCH] Modules/Neovim: Replace lazygit with Snacks.lazygit --- home/modules/neovim/default.nix | 9 --------- home/modules/neovim/mappings.nix | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/home/modules/neovim/default.nix b/home/modules/neovim/default.nix index ea02bf26..f3c60e86 100644 --- a/home/modules/neovim/default.nix +++ b/home/modules/neovim/default.nix @@ -735,14 +735,6 @@ in { config = mkDefaultConfig name; }; - lazygit = { - name = "lazygit"; - pkg = pkgs.vimPlugins.lazygit-nvim; - dependencies = [_plenary]; - lazy = true; - cmd = ["LazyGit" "LazyGitConfig" "LazyGitCurrentFile" "LazyGitFilter" "LazyGitFilterCurrentFile"]; - }; - lint = { name = "lint"; pkg = pkgs.vimPlugins.nvim-lint; @@ -1998,7 +1990,6 @@ in { jdtls # Eclipse JDT language server integration for Java lastplace # Reopen a file at the last editing position - lazygit # Git frontend # leetcode # Solve leetcode problems lint # Lint documents on save lspconfig # Language server configurations for different languages diff --git a/home/modules/neovim/mappings.nix b/home/modules/neovim/mappings.nix index acf8160f..aacc4f59 100644 --- a/home/modules/neovim/mappings.nix +++ b/home/modules/neovim/mappings.nix @@ -678,7 +678,7 @@ { mode = "n"; key = "gg"; - action = "LazyGit"; + action = "lua Snacks.lazygit.open()"; options.desc = "LazyGit"; } {