On 6/7/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
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 to the line. This is exactly how it was
> set agains Vim 6.3.
>
>
>
> I've read all the docs, but still for some weird reason, don't get why
> it's not doing what I want it to.
The viminfo setting is not the only thing it says to do! Quoting the
first example:
| set viminfo='10,\"100,:20,%,n~/.viminfo
au BufReadPost * if line("'\"") > 0|if line("'\"") <=
line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
|That autocmd is needed!
Thanks Chip! Please disregard my last post. I applied the autocmd
and it worked like it should.
Thanks again for all your help,
Kevin
--
Kevin Old
[EMAIL PROTECTED]