wwang at party.com
Tue Jul 22 02:28:25 PDT 2003
On Tue, Jul 22, 2003 at 11:04:27AM +0200, Erika Pacholleck wrote:
> Date: Tue, 22 Jul 2003 11:04:27 +0200
> From: Erika Pacholleck <pchllck at nexgo.de>
> To: blfs-support at linuxfromscratch.org
> Subject: Re: viminfo?
> Mail-Followup-To: blfs-support at linuxfromscratch.org
> [22.07.2003] Tony Wang <-- :
> > And then I setup some config in ~/.vimrc file, and mostly time it works
> > fine, but I found the viminfo config I have setup does not act really,
> > I have tried
> > set viminfo='20,"50
> > set viminfo='20,\"50
> > set viminfo='20,\\"50
> set viminfo='20,\"50
> > but no use, when I edit a file and quit at some line, then reopen it,
> > but the cursor always go to the first line, and there is really a
> > ~/.viminfo contains some information last time I left.
> I am not sure I understand what you want.
> Do want to start vim exactely where you left it last time, for example
> open the last file you were in and position the cursor at the place
> where you left it last time?
> In this case you can start on commandline with:
> which will give you an empty vim
> Now depending on which older file you want to reload, in vim do:
> which will load your last one, or
> which will load the one before your last one, or
> wich will load the second one before your last one ...
Thank you very much! But I remember that when I use vim under my host
system redhat 8.0, every time I start vim it will go exactly where I
left last time, It's is automatically and need't "'0" keys to be
pressed. That is some convenient for me.
> > I have see the help for viminfo, it says that
> > "The viminfo file is not supported when the |+viminfo| feature has been
> > disabled at compile time."
> To find whether you have some +(with) or -(without) compiled, in vim do:
> (Also, if you have some .viminfo file it is +viminfo)
I have see +viminfo there.
> Erika ...---...: pacholleck at nexgo dot de
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe blfs-support' in the subject header of the message
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support