Set up lazygit integration

This commit is contained in:
Maximilian Friedersdorff 2025-10-02 12:18:23 +01:00
parent a18ba1da61
commit cc74b77c17
3 changed files with 17 additions and 0 deletions

View file

@ -1,6 +1,8 @@
return {
{
'folke/snacks.nvim',
priority = 1000,
lazy = false,
opts = {
gitbrowse = {
url_patterns = {
@ -13,6 +15,9 @@ return {
},
what = 'permalink',
},
lazygit = {
enabled = true,
},
},
keys = {
@ -35,6 +40,15 @@ return {
end,
desc = '[Y]ank Git URL',
},
{
'<leader>gg',
function()
Snacks.lazygit()
end,
desc = 'Lazy[g]it (Root Dir)',
},
},
},
}
-- vim: ts=2 sts=2 sw=2 et