Friday, August 27, 2010

Re: History doesn't work !

On 08/27/10 10:36, Tintin72 wrote:
> If I type:
>
> :set history?
>
> I get:
>
> history=50

Well, from everything I've seen, it *should* be working. The
only other thing I can imagine is that you have some mapping
interfering with history-recall. What happens when you start vim
with no vimrc?

vim -u NONE

Additionally, you might take a look at either the output of

:history

or pull up the command-line window

:help q:

to see if history is being gathered. This will at least help
determine whether you (1) have history that's being saved but not
recalled or if you (2) have no history being gathered.

I assume you're entering several commands as well to ensure that
your history has something to pull back. If you're expecting it
to be preserved across editing sessions, check your 'viminfo' setting

:set viminfo?

to make sure you have the entries for the various histories:

:help 'viminfo'

(namely the ":" and "/" in particular)

-tim

--
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

No comments: