Saturday, July 21, 2012

Re: esc and cursor position

On 20 Jul 2012, Christian Brabandt wrote:
> Hi sinbad!
>
> On Fr, 20 Jul 2012, sinbad wrote:
>
> > why does the <esc> takes the cursor a position back.
> > is there any specific for this ?
>
> That is how traditional Vi has always behaved.
>

This has been discussed before and I think the conclusion was that it is
a feature, not a bug. But I find it annoying so I have this in my vimrc:


"prevents cursor moving backwards from insert
inoremap <ESC> <ESC>l

AC

--
Anthony Campbell - ac@acampbell.org.uk
http://www.reviewbooks.org.uk
http://www.skepticviews.org.uk
http://www.acupuncturecourse.org.uk
http://www.smashwords.com/profile.view/acampbell




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

No comments:

Post a Comment