On Tue, Dec 24, 2019 at 11:37 AM Ni Va <[email protected]> wrote: > > if it can help. > > This mapping is bad : nnoremap noh :noh<cr> > > It takes 2 seconds before jumping to next occurence when you search for a > sentence.
This is expected: when you type n to search for next match after having defined this mapping, Vim waits for 'timeoutlen' millseconds (default 1000) to see if an o is coming (and if it is, then an h). You could either define a second mapping, e.g. ":nnoremap nn n" or forgo your noh mapping altogether. Best regards, Tony. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXv%3D6GN%3D%3DaYtU5DUqhi4jRo0sR0Ow4F0qmopPy74JxidDw%40mail.gmail.com.
