Bill Jonas on Fri, 22 Dec 2000 12:42:34 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] vim: restart where left off


On Fri, Dec 22, 2000 at 05:30:03PM +0100, MaD dUCK wrote:
> i tried literally every option, but i cannot get this setting back...
> anyone with a clue?

>From http://www.vim.org/html/motion.html :

	Numbered marks '0 to '9 are quite different.  They can not be set
	directly.  They are only present when using a viminfo file
	|viminfo-file|.  Basically '0 is the location of the cursor when
	you last exited Vim, '1 the last but one time, etc.  See
	|viminfo-file-marks|.

Try putting "'0" in your .vimrc, or alias "vi" or "vim" to "vim -c '\'0'"
or "vim -c +\'0".  I don't know if that will work or not.

BTW, if this doesn't work, I found the page by searching at
http://www.google.com/search?q=cursor+site%3Awww.vim.org -- you might look
through some of the other results there.  (Google is great -- if you want
to restrict searching to a particular site, use 'site:www.site.foo' as a
search term.  If you want to search an entire domain, leave off the
machine name, as in 'site:.site.foo'.)

-- 
Bill Jonas                | "In contrast to the What You See Is What You
bill@billjonas.com        |  Get (WYSIWYG) philosophy, UNIX is the You
http://www.billjonas.com/ |  Asked For It, You Got It operating system."
http://www.debian.org/    |  --Scott Lee, as quoted by Lamb and Robbins


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug