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

View File

@@ -8,3 +8,5 @@ vim.opt.shiftwidth = 4
vim.opt.foldmethod = marker vim.opt.foldmethod = marker
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>') vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
vim.g.mapleader = "<Space>"

7
lua/plugins/crates.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
'saecki/crates.nvim',
tag = 'stable',
config = function()
require('crates').setup()
end,
}

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" }
}
}