feat(plugin): Added lazygit plugin

This commit is contained in:
2026-06-25 22:25:51 +05:30
parent 8effd35a4f
commit b036744fea
2 changed files with 21 additions and 0 deletions

20
lua/plugins/lazygit.lua Normal file
View File

@@ -0,0 +1,20 @@
return {
"kdheepak/lazygit.nvim",
lazy = true,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
}