🐸 Add substitute plugin
- Paste alternative
This commit is contained in:
@@ -218,6 +218,14 @@ wk.add({
|
||||
"<cmd>TransparentToggle<cr>",
|
||||
desc = "Toggle Transparency",
|
||||
},
|
||||
{
|
||||
mode = "x",
|
||||
lhs = "<leader>r",
|
||||
rhs = function()
|
||||
require("substitute").visual()
|
||||
end,
|
||||
desc = "Substitute",
|
||||
},
|
||||
})
|
||||
|
||||
-- ---------------------------- Spell Correction -------------------------------
|
||||
|
||||
@@ -112,6 +112,17 @@ return {
|
||||
require("colorizer").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"gbprod/substitute.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
yank_substituted_text = false,
|
||||
preserve_cursor_position = true,
|
||||
highlight_substituted_text = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"vim-scripts/AnsiEsc.vim",
|
||||
lazy = true,
|
||||
|
||||
Reference in New Issue
Block a user