Explore the source / nvim

Inside nvim.

Neovim modules, plugins, mappings, and shared theme. Browse the current public files here, or visit the nvim repository on GitHub.

nvim / main

lua/myconf/plugins/lazygit.lua

View on GitHub
return {
   "kdheepak/lazygit.nvim",
   cmd = {
      "LazyGit",
      "LazyGitConfig",
      "LazyGitCurrentFile",
      "LazyGitFilter",
      "LazyGitFilterCurrentFile",
   },

   -- optional for floating window border decoration
   dependencies = {
      "nvim-lua/plenary.nvim",
   },

   keys = {
      { "<leader>lg", "<cmd>LazyGit<cr>", desc = "Open lazy git" },
   },
   init = function()
      -- lazygit.nvim reads global vars (no Lua setup function)
      vim.g.lazygit_floating_window_winblend = 0
   end,

}