Sunday, February 5, 2017

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

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
--
Es gibt viele Mittel gegen die Liebe, aber keins ist unfehlbar.
-- François Duc de La Rochefoucauld

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

Post a Comment