Skip to content

Commit 9d098d2

Browse files
committed
add lazygit integration (its buggy as fuck feel free to disable)
1 parent a9a2193 commit 9d098d2

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

lua/custom/plugins/init.lua

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1-
-- You can add your own plugins here or in other files in this directory!
2-
-- I promise not to create any merge conflicts in this directory :)
3-
--
4-
-- See the kickstart.nvim README for more information
5-
return {}
1+
return {
2+
'kdheepak/lazygit.nvim',
3+
cmd = {
4+
'LazyGit',
5+
'LazyGitConfig',
6+
'LazyGitCurrentFile',
7+
'LazyGitFilter',
8+
'LazyGitFilterCurrentFile',
9+
},
10+
-- optional for floating window border decoration
11+
dependencies = {
12+
'nvim-lua/plenary.nvim',
13+
},
14+
-- setting the keybinding for LazyGit with 'keys' is recommended in
15+
-- order to load the plugin when the command is run for the first time
16+
keys = {
17+
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'Open lazy git' },
18+
},
19+
}

0 commit comments

Comments
 (0)