migrate from packer to lazy

most of my config has been carried over, still need to do colorizer
and markdown.

added a few new plugins, based off of josean's 2024 video
This commit is contained in:
2024-10-31 16:45:27 -04:00
parent 3494df804e
commit 28c75e157a
35 changed files with 883 additions and 236 deletions
+17
View File
@@ -0,0 +1,17 @@
return {
"gbprod/substitute.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
local substitute = require("substitute")
substitute.setup()
local keymap = vim.keymap
keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" })
keymap.set("n", "ss", substitute.line, { desc = "Substitute line" })
keymap.set("n", "S", substitute.line, { desc = "Substitute to end of line" })
keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" })
end,
}