Re: Restore cursor to last line not working in Vim 7

2006-06-09 Thread Kevin Old
On 6/7/06, Benji Fisher [EMAIL PROTECTED] wrote: On Wed, Jun 07, 2006 at 11:53:40AM -0700, Yegappan Lakshmanan wrote: In Vim 6.3, either you sourced the vimrc_example.vim file or the system vimrc file in your system was defining the autocmd. I suspect that Yegappan and Tony are right.

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Tim Chase
In version 6.3 (and as far as I can remember in Vim versions) it would return my cursor to the line I was at when I saved a file the next time I opened that file. It now returns me to the beginning of the file in Vim 7. I looked at :help restore-position, but that doesn't do it by default. The

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread James Vega
On Wed, Jun 07, 2006 at 10:26:36AM -0400, Kevin Old wrote: Anyone else experiencing this? Any ideas how to fix it? If Tim's suggestion does not solve the problem, I'd suggest checking if your system-wide vimrc has changed. The code snippet at :help last-position-jump may have previously been

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread A.J.Mechelynck
Kevin Old wrote: On 6/7/06, Tim Chase [EMAIL PROTECTED] wrote: This would be where I'd start...comparing your old 'viminfo' setting with your new one. Thanks Tim. I've never edited settings for viminfo, but I've attached my viminfo's for both 6.3 and 7. There are File marks in the viminfo 7

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Kevin Old
On 6/7/06, Tim Chase [EMAIL PROTECTED] wrote: Thanks Tim. I've never edited settings for viminfo, but I've attached :set viminfo Sorry, had never needed to look at my viminfo settings until now. Here's the options running under 6.3: viminfo='20,50 Here's the options running under

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Charles E Campbell Jr
Kevin Old wrote: In version 6.3 (and as far as I can remember in Vim versions) it would return my cursor to the line I was at when I saved a file the next time I opened that file. It now returns me to the beginning of the file in Vim 7. Check out tip

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Kevin Old
On 6/7/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Kevin Old wrote: In version 6.3 (and as far as I can remember in Vim versions) it would return my cursor to the line I was at when I saved a file the next time I opened that file. It now returns me to the beginning of the file in

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Yegappan Lakshmanan
Hi Kevin, On 6/7/06, Kevin Old [EMAIL PROTECTED] wrote: In version 6.3 (and as far as I can remember in Vim versions) it would return my cursor to the line I was at when I saved a file the next time I opened that file. It now returns me to the beginning of the file in Vim 7. Check

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread Charles E Campbell Jr
Kevin Old wrote: On 6/7/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Check out tip http://vim.sourceforge.net/tips/tip.php?tip_id=80 -- perhaps that'll help. Thanks for this, but I still don't understand. I've set my viminfo in .vimrc to: viminfo='20,50 and it doesn't take me back