feat: toggle search highlighting with *
parent
ebcbf8e35b
commit
f42e3c31b5
|
@ -48,3 +48,6 @@ vim.cmd('autocmd TermOpen term://* lua set_terminal_keymaps()')
|
|||
|
||||
-- buffer closing
|
||||
nnoremap("<leader>q", ":Bdelete<CR>")
|
||||
|
||||
-- toggle search highlighting
|
||||
vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')
|
||||
|
|
Loading…
Reference in New Issue