Use <Esc> to set `nohlsearch` instead of <CR>. <Esc> has no purpose in normal mode and has the benefit, that the cursor is not moved.
4.7 KiB
4.7 KiB
Use <Esc> to set `nohlsearch` instead of <CR>. <Esc> has no purpose in normal mode and has the benefit, that the cursor is not moved.