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"; } {