added lazygit plugin

This commit is contained in:
2023-01-28 21:39:46 +01:00
parent a7a4319243
commit 6c51bce00d
2 changed files with 26 additions and 23 deletions

26
lua/plugins/lazygit.lua Normal file
View File

@@ -0,0 +1,26 @@
return {
'kdheepak/lazygit.nvim',
dependencies = {
'nvim-telescope/telescope.nvim'
},
cmd = {
'LazyGit',
'LazyGitConfig',
'LazyGitFilter',
'LazyGitFilterCurrentFile',
'LazyGit',
},
config = function ()
require("telescope").load_extension("lazygit")
end,
keys = {
{
'<Space>g',
function ()
require('lazygit').lazygit()
end
}
}
}