changes
This commit is contained in:
parent
69383c3a1d
commit
c98c45d26e
2 changed files with 65 additions and 13 deletions
24
lua/custom/plugins/lazygit.lua
Normal file
24
lua/custom/plugins/lazygit.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
local lg = {
|
||||
-- nvim v0.8.0
|
||||
{
|
||||
'kdheepak/lazygit.nvim',
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return lg
|
||||
Loading…
Add table
Add a link
Reference in a new issue