Set up lazygit integration
This commit is contained in:
parent
a18ba1da61
commit
cc74b77c17
3 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue