Search for "WORD" without typing \<
and \>
.
Install with lazy.nvim
:
{
"barklan/searchword.nvim",
cmd = "SearchWord",
config = true,
dependencies = {
-- Optional.
"kevinhwang91/nvim-hlslens",
},
},
Map:
vim.keymap.set("n", "?", ":SearchWord ", { noremap = true })