Thursday, March 25, 2010

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

A little problem however
Please test the 2 following situations

1)
gvim -y file1
put the cursor on line 10, end of line (column 24)
Quit with the cross top-right of windows
gvim -y file1 (to reopen)
Result: the cursor is at end of line 10 (OK)

2)
gvim -y file1
put the cursor on line 10, end of line (column 24)
Quit with Menu|Exit (or CTRL-O :q)
gvim -y file1 (to reopen)
Result: the cursor is on line 10, column 23

This does not occur with set virtualedit=onemore and the standard
autocmd.

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