history in new instance

2007-06-05 Thread Ron Olson

Hi all-

I use Vim 7 both on Windows and a Mac (in gui mode) and Linux (console
mode) and I've noticed that all versions I have, except the Mac one,
keeps a command history from previous instances. That is, if I type :
and then up-arrow, I can see commands that I've previously entered
even though I just started Vim.

The Mac does keep a command line history of the current instance, but
loses it when Vim is shut down. Is there a setting I can check to see
how to set this?

Thanks,

Ron


Re: history in new instance

2007-06-05 Thread A.J.Mechelynck

Ron Olson wrote:

Hi all-

I use Vim 7 both on Windows and a Mac (in gui mode) and Linux (console
mode) and I've noticed that all versions I have, except the Mac one,
keeps a command history from previous instances. That is, if I type :
and then up-arrow, I can see commands that I've previously entered
even though I just started Vim.

The Mac does keep a command line history of the current instance, but
loses it when Vim is shut down. Is there a setting I can check to see
how to set this?

Thanks,

Ron



:help 'history'
:help 'viminfo'
:help viminfo-file


Best regards,
Tony.
--
FIRST HEAD:  Oh! quick! get the sword out I want to cut his head off.
THIRD HEAD:  Oh, cut your own head off.
SECOND HEAD: Yes - do us all a favour.
 Monty Python and the Holy Grail PYTHON (MONTY) PICTURES LTD