From 5b7e27e29e146390df1c232bc5a6e57173805d93 Mon Sep 17 00:00:00 2001 From: AeroGlory Date: Fri, 9 Jan 2026 20:23:25 -0500 Subject: [PATCH] Added lazygit.nvim and crates.nvim (plus set leader to space key) --- lua/aeroglory/init.lua | 2 ++ lua/plugins/crates.lua | 7 +++++++ lua/plugins/lazygit.lua | 21 +++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 lua/plugins/crates.lua create mode 100644 lua/plugins/lazygit.lua diff --git a/lua/aeroglory/init.lua b/lua/aeroglory/init.lua index 97afebc..7c7cefb 100644 --- a/lua/aeroglory/init.lua +++ b/lua/aeroglory/init.lua @@ -8,3 +8,5 @@ vim.opt.shiftwidth = 4 vim.opt.foldmethod = marker vim.keymap.set('t', '', '') + +vim.g.mapleader = "" diff --git a/lua/plugins/crates.lua b/lua/plugins/crates.lua new file mode 100644 index 0000000..77f9beb --- /dev/null +++ b/lua/plugins/crates.lua @@ -0,0 +1,7 @@ +return { + 'saecki/crates.nvim', + tag = 'stable', + config = function() + require('crates').setup() + end, +} diff --git a/lua/plugins/lazygit.lua b/lua/plugins/lazygit.lua new file mode 100644 index 0000000..c7cb122 --- /dev/null +++ b/lua/plugins/lazygit.lua @@ -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 = { + { "lg", "LazyGit", desc = "LazyGit" } + } +}