nvim: add keymap for nohlsearch

This commit is contained in:
tastytea 2022-08-18 00:56:46 +02:00
parent bc76c90cff
commit 7e9255780e
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -83,3 +83,4 @@ end
map('n', '<M-.>', '<C-]>') -- follow symbol
map('n', '<M-,>', '<C-T>') -- go back to previous pos
map('v', '<Leader>f', 'gq', 'Reformat text')
map('n', '<Leader>h', ':nohlsearch<cr>', 'Stop highlighting search')