highlight word to silent
This commit is contained in:
parent
739b2154eb
commit
570b9fe329
@ -31,7 +31,7 @@ local function hlWord()
|
|||||||
vim.opt.hlsearch = true
|
vim.opt.hlsearch = true
|
||||||
end
|
end
|
||||||
-- Highlight word under cursor
|
-- Highlight word under cursor
|
||||||
vim.keymap.set('n', "'", hlWord, { noremap = true, silent = false })
|
vim.keymap.set('n', "'", hlWord, { noremap = true, silent = true })
|
||||||
vim.keymap.set('x', "'", 'y/\\V<C-R>"<CR>N', { noremap = true, silent = true })
|
vim.keymap.set('x', "'", 'y/\\V<C-R>"<CR>N', { noremap = true, silent = true })
|
||||||
|
|
||||||
-- Close Buffer
|
-- Close Buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user