This commit is contained in:
ZaneFerns360 2024-04-28 00:32:00 +05:30
parent 69383c3a1d
commit c98c45d26e
2 changed files with 65 additions and 13 deletions

View file

@ -0,0 +1,24 @@
local lg = {
-- nvim v0.8.0
{
'kdheepak/lazygit.nvim',
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' },
},
},
}
return lg