Add lazy and plugins dir
This commit is contained in:
parent
1dacc4c2d3
commit
a467ba4a69
25 changed files with 1393 additions and 0 deletions
20
lua/rakshit/plugins/substitute.lua
Normal file
20
lua/rakshit/plugins/substitute.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
-- NOTE: Keeping this commented for now since I'm not sure of the merit of using this at this moment. I do use the `s` commad relatively frequently and I don't really do much substitutions
|
||||
return {}
|
||||
|
||||
-- return {
|
||||
-- "gbprod/substitute.nvim",
|
||||
-- event = { "BufReadPre", "BufNewFile" },
|
||||
-- config = function()
|
||||
-- local substitute = require("substitute")
|
||||
--
|
||||
-- substitute.setup()
|
||||
--
|
||||
-- -- set keymaps
|
||||
-- local keymap = vim.keymap -- for conciseness
|
||||
--
|
||||
-- vim.keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" })
|
||||
-- vim.keymap.set("n", "ss", substitute.line, { desc = "Substitute line" })
|
||||
-- vim.keymap.set("n", "S", substitute.eol, { desc = "Substitute to end of line" })
|
||||
-- vim.keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" })
|
||||
-- end,
|
||||
-- }
|
||||
Loading…
Add table
Add a link
Reference in a new issue