add(nvim): spectre for regex search and replace

This commit is contained in:
Léana 江 2023-05-26 01:53:03 +02:00 committed by Léana 江
parent 59d2779494
commit 5679990543
3 changed files with 5 additions and 6 deletions

View file

@ -0,0 +1,3 @@
local spectre = require "spectre"
vim.keymap.set("n", "<leader>ss", function() spectre.open() end, { desc = "search and replace" })