Highlight word under cursor

This commit is contained in:
Oliver Hartmann 2021-09-12 20:54:16 +02:00
parent ba1fd529d5
commit 2812ea2b2b

View File

@ -50,3 +50,6 @@ utils.map('v', '<Up>', 'gk')
utils.map('v', '<Down>', 'gj')
utils.map('v', '<Home>', 'g<Home>')
utils.map('v', '<End>', 'g<End>')
-- Highlight word under cursor
utils.map('n', 'ü', ":exec 'match Search /\\V\\<' . expand('<cword>') . '\\>/'<CR>")