howard Schwartz wrote:

> I find the :oldfiles or :browse oldfiles command to be quite simple and
> convenient. It works as advertised on my 7.3 version of vim in windows xp.
> However, with my 7.0.237 version of vim running on redhat linux, the command
> does not work and I get the error message
>
> E492: Not an editor command: oldfiles

Hi Howard

According to ":help version-7.3", the ":oldfiles" command was added
in this patch:

=======================================================
Patch 7.2.031
Problem:    Information in the viminfo file about previously edited files is
            not available to the user.  There is no way to get a complete list
            of files edited in previous Vim sessions.
Solution:   Add v:oldfiles and fill it with the list of old file names when
            first reading the viminfo file.  Add the ":oldfiles" command,
            ":browse oldfiles" and the "#<123" special file name.  Increase
            the default value for 'viminfo' from '20 to '100.
=======================================================

So what you observe is expected.

Your Vim-7.0.237 version is very old (05/01/2007).
Why not recompile the latest from sources
checked-out with Mercurial?

-- Dominique

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to