added lazygit plugin for nvim

This commit is contained in:
2025-07-15 19:02:26 +05:00
parent 145bbd1996
commit b3c3640a54

View File

@ -0,0 +1,21 @@
return {
"kdheepak/lazygit.nvim",
lazy = true,
event = "VeryLazy",
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>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
}