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