Large rewrite, simplify keymapping, utilize as much keys from Lazy as

possible. Reduce manually setup plugins and utilize opts instead.
This commit is contained in:
Martin Larsson 2025-02-23 01:35:23 +00:00
parent 72eb62b9cb
commit 43020a4d12
17 changed files with 408 additions and 780 deletions

View file

@ -14,16 +14,8 @@ return {
},
event = "VeryLazy",
lazy = true,
config = function()
local neogit = require("neogit")
neogit.setup()
require("utils").add_keymaps({
n = {
["<leader>g"] = {
cmd = function() neogit.open({ kind = "vsplit" }) end,
},
}
})
end
opts = {},
keys = {
{ "<leader>g", function() require("neogit").open({ kind = "vsplit" }) end }
},
}