On Sun, 5 Feb 2017 13:09:29 -0600
Tim Chase <vim@tim.thechases.com> wrote:
> I generally fly with 'nohls' set and only turn it on when I actually
> want that functionality. I also remap control+L (usually just a
> simple :redraw of the screen) to also do a :noh in the process:
>
> :nnoremap <c-L> :noh<cr><c-L>
>
> which feels intuitive to me. YMMV.
I remap the Esc.
:nnoremap <Esc> :nohlsearch<CR><Esc>
In normal mode, Esc does nothing but ring the bell, so this feels
intuitive to me. :)
--
Don't stop where the ink does.
Shawn H Corey
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, February 5, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment