added lazygit plugin
This commit is contained in:
26
lua/plugins/lazygit.lua
Normal file
26
lua/plugins/lazygit.lua
Normal 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
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user