Skip to content

Commit 38e02f4

Browse files
added lazygit
1 parent afbe062 commit 38e02f4

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"inc-rename.nvim": { "branch": "main", "commit": "a3e31af13844534c66041ce92f29af7745883875" },
1717
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
1818
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
19+
"lazygit.nvim": { "branch": "main", "commit": "b9eae3badab982e71abab96d3ee1d258f0c07961" },
1920
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
2021
"mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" },
2122
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },

lua/plugin-manifest.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ return {
3737
require('plugins.win-picker'),
3838
require('plugins.clangd-extensions'),
3939
require('plugins.terminal'),
40+
require('plugins.lazygit'),
4041
-- require('plugins.rocks'),
4142
require('plugins.pio')
4243
-- require('plugins.image')

lua/plugins/lazygit.lua

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

0 commit comments

Comments
 (0)