mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): spectre for regex search and replace
This commit is contained in:
parent
59d2779494
commit
5679990543
3 changed files with 5 additions and 6 deletions
3
.config/nvim/after/plugin/spectre.lua
Normal file
3
.config/nvim/after/plugin/spectre.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
local spectre = require "spectre"
|
||||
|
||||
vim.keymap.set("n", "<leader>ss", function() spectre.open() end, { desc = "search and replace" })
|
||||
Loading…
Add table
Add a link
Reference in a new issue