Thursday, April 1, 2010

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

On April 1, 10:33 am, Andy Wokula <anw...@yahoo.de> wrote:

>> Can you improve that?

> IIRC, you already mentioned this on the list?
> I think it's not related to the last-position-jump problem -- so, mission accomplished for now ;-) Maybe I'll spend some
> time on it after the holidays.

>> Hint: Using vimrc_example.vim as .vimrc (without lastpos.vim), the
>> same problem occurs in normal mode. The solution is to replace
>> BufReadPost with BufWinEnter in vimrc_example.vim.

> Even better, if you know the solution then please try it yourself ;-).

Hi Andy,

Finally, just replacing "BufReadPost" with "BufWinEnter" in the latest
version of your plugin and suppressing the original BufReadPost
autocmd of vimrc_example.vim (if any) does the job.

With this plugin+replacement of <C-O> with <C-\><C-O>+ Christian's
patch for the menus (not yet tested by myself), one can consider that
the proposed problem is completely solved.
Bram does not seem enthusiastic to take all that into account
officially. Perhaps we could reiterate our proposition after intense
use has shown no side-effects.

Have nice holidays!

Regards,
Jean Johner


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