Skip to content

Commit 780ed1e

Browse files
committed
custom: add lazygit plugin
1 parent d72dffd commit 780ed1e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

lua/custom/plugins/lazygit.lua

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
return {
2+
'kdheepak/lazygit.nvim',
3+
lazy = true,
4+
cmd = {
5+
'LazyGit',
6+
'LazyGitConfig',
7+
'LazyGitCurrentFile',
8+
'LazyGitFilter',
9+
'LazyGitFilterCurrentFile',
10+
},
11+
-- optional for floating window border decoration
12+
dependencies = {
13+
'nvim-lua/plenary.nvim',
14+
},
15+
-- setting the keybinding for LazyGit with 'keys' is recommended in
16+
-- order to load the plugin when the command is run for the first time
17+
keys = {
18+
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
19+
},
20+
}

0 commit comments

Comments
 (0)