Search the web
Sign In
New User? Sign Up
vim · Vim (Vi IMproved) text editor users list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cursor position - file history   Topic List   < Prev Topic  |  Next Topic >
Reply | Forward  | 
Re: Cursor position - file history

On 2/20/07, David Woodfall <dave@...> wrote:
> Is there any way of getting vim to remember more previously opened file
> cursor positions?
>
> Searching for history only yields command history.
>
> --
> It's easier to get forgiveness for being wrong than forgiveness for
> being right.

Try

set viminfo='200,<50,s10,:20,h
set viminfo='300,<50,s10,:20,h
set viminfo='500,<50,s10,:20,h

:help 'viminfo'

Yakov



Tue Feb 20, 2007 8:09 am

iler.ml@...
Send Email Send Email

Forward
 | 
Expand Messages Author Sort by Date

Is there any way of getting vim to remember more previously opened file cursor positions? Searching for history only yields command history. -- It's easier to...
David Woodfall
dave@...
Send Email
Feb 20, 2007
7:47 am

... Try set viminfo='200,<50,s10,:20,h set viminfo='300,<50,s10,:20,h set viminfo='500,<50,s10,:20,h ... Yakov...
Yakov Lerner
iler.ml@...
Send Email
Feb 20, 2007
8:12 am

... Nice. Thanks. -- There are very few personal problems that cannot be solved through a suitable application of high explosives. Cheers! Dave...
David Woodfall
dave@...
Send Email
Feb 20, 2007
11:44 am

... ":helpgrep history\c" yielded 214 hits from the $VIMRUNTIME ... The ' parameter is what I think you want - the default is to save marks for 20 files. -- ...
Bill McCarthy
WJMc@...
Send Email
Feb 20, 2007
8:17 am

... From ":help jumplist": there is a separate list per window; the number of entries is fixed at 100. Best regards, Tony. -- Whenever anyone says,...
A.J.Mechelynck
antoine.mechelynck@...
Send Email
Feb 20, 2007
3:42 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help