Added lazygit.nvim and crates.nvim (plus set leader to space key)

This commit is contained in:
2026-01-09 20:23:25 -05:00
parent e24e98833e
commit 5b7e27e29e
3 changed files with 30 additions and 0 deletions

21
lua/plugins/lazygit.lua Normal file
View File

@@ -0,0 +1,21 @@
-- nvim v0.8.0
return {
"kdheepak/lazygit.nvim",
lazy = true,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
}