Sunday, February 5, 2017

Re: Sed substitution did not go as planned...

On Sun, 5 Feb 2017 21:41:34 +0100
Christian Brabandt <cblists@256bit.org> wrote:

> On So, 05 Feb 2017, Shawn H Corey wrote:
>
> > 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. :)
>
> That is known to confuse the Vim parser. I would not recommend to map
> esc.
>
> http://vi.stackexchange.com/q/2614/71
>
> Best,
> Christian

You're kidding right? The escape used to communicate should be separate
from the Escape key mapping.


--
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.

No comments: