Added LazyGit

This commit is contained in:
Kasper Sternberg 2024-03-06 09:17:03 +01:00
parent ea89c3f4b9
commit 1f870585b7
4 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,17 @@
return {
{
'kdheepak/lazygit.nvim',
cmd = {
'LazyGit',
'LazyGitConfig',
'LazyGitCurrentFile',
'LazyGitFilter',
'LazyGitFilterCurrentFile',
},
-- optional for floating window border decoration
dependencies = {
'nvim-lua/plenary.nvim',
},
},
vim.keymap.set('n', '<leader>lg', ':LazyGit<CR>', { desc = '[L]azy [G]it' }),
}