On 2017-02-05 16:30, Shawn H Corey wrote:
> On Sun, 5 Feb 2017 21:41:34 +0100
> Christian Brabandt <cblists@256bit.org> wrote:
> > On So, 05 Feb 2017, Shawn H Corey wrote:
> > > :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
>
> You're kidding right? The escape used to communicate should be
> separate from the Escape key mapping.
As is mentioned in that thread, it may be possible within gvim, but in
terminal vim, the escape key already has a meta-level meaning as a
prefix for certain extended-key sequences (such as arrows, function
keys, alt+{key}, and the six-pack).
-tim
--
--
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