Skip to content

Commit 7ab92ba

Browse files
Adding lazygit as custom puglin
Also, adding a typo fix
1 parent bb84af4 commit 7ab92ba

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ require('lazy').setup({
940940
require 'kickstart.plugins.indent_line',
941941
-- require 'kickstart.plugins.lint',
942942
require 'kickstart.plugins.autopairs',
943-
require 'kickstart.plugins.neo-tree',
943+
require 'kickstart.plugins.neo-tree', -- https://github.com/nvim-neo-tree/neo-tree.nvim
944944
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
945945

946946
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`

lua/custom/plugins/lazygit.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
return {
2+
{
3+
'kdheepak/lazygit.nvim',
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>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
19+
},
20+
},
21+
}

0 commit comments

Comments
 (0)