> On Mar 22, 1:44 pm, Tony Mechelynck<antoine.mechely...@gmail.com>
> wrote:
>
>> Either source the vimrc_example.vim, for instance by adding ...
>
> Hi Tony,
> Perhaps I was not clear enough.
> As told in the first message, vimrc_example.vim is used as .vimrc, so
> that the BufReadPost `" autocmd you described is activated.
>
> Indeed, the cursor column is remembered except when the cursor is at
> the end of a line in insert mode, in which case the last but one
> column is remembered (this pb does not occur in normal mode since the
> column corresponding to end of line in insert mode is not reachable).
> Of course, it is a detail, but a solution would participate to vim
> "perfectness".
>
> I think it should be possible to solve this pb since situations exist
> where the end of line is remembered in insert mode.
> For example, create a fold, go to insert mode, open the fold, put the
> cursor at the end of a line inside the fold, close the fold, reopen
> it. You see that the cursor is well at the end of the line.
>
> Best regards
> Jean Johner
>
>
>
Ah, well, I'm not sure how you could do it... wait...
maybe
:set virtualedit=onemore
but I'm not sure of the results, and it could have some side-effects.
Other than that, no idea.
Best regards,
Tony.
--
There are very few personal problems that cannot be solved through a
suitable application of high explosives.
--
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 from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment