Thursday, April 1, 2010

Re: How to remember end of line when quitting/reopening in insert mode

On March 31, 10:39 pm, Andy Wokula<anw...@yahoo.de> wrote:

>> NB: Your code works when "set insertmode" is present in .vimrc (as a
>> special case gvim -y).
>> It does not work when "startinsert" is used instead (which has the
>> advantage of keeping the Esc key).
>>
>> Could you cure that?

> Easily, but you need to set a variable.

> " in the vimrc:
> let g:lastpos_startinsert = 1
> startinsert

Hi Andy,
I did that and installed your new plugin (private attachment). It
works perfectly. Thanks.

May be you could send the new plugin to vim_use.

Best regards
Jean

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

To unsubscribe, reply using "remove me" as the subject.

No comments: