Skip to content

Commit 659a44c

Browse files
committed
feat: added lazyvim to plugins package
1 parent a09538d commit 659a44c

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

lazy-lock.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"git-blame.nvim": { "branch": "master", "commit": "2883a7460f611c2705b23f12d58d398d5ce6ec00" },
1515
"indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" },
1616
"lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
17+
"lazygit.nvim": { "branch": "main", "commit": "56760339a81cd1540d5a72fd9d93010a2677b55d" },
1718
"lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
1819
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
1920
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },

lua/nivi/plugins/lazygit.lua

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
}

lua/nivi/plugins/which-key.lua

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ return {
3838
{ "<C-a>", "ggVG", desc = "Selec All" },
3939
{ "<leader>h", ":nohl<CR>", desc = "Clear search highlights" },
4040
{ "<leader>gb", ":GitBlameToggle<CR>", desc = "On/Off blame" },
41+
{ "<leader>gl", "<cmd>LazyGit<cr>", desc = "LazyGit" },
4142
{ "<leader>qq", ":qa<CR>", desc = "Close all buffers" },
4243
{ "<leader>qf", ":qa!<CR>", desc = "Close all and discard changes" },
4344
{ "<leader>qF", ":xa!<CR>", desc = "Close all and force save changes" },

0 commit comments

Comments
 (0)