On Thu, May 31, 2007 at 03:52:29AM +0200, A.J.Mechelynck wrote: > Tim Johnson wrote: > >Using vim 7.0 on kubuntu 7.04 (feisty fawn amd 64) > > > >I've recently migrated from vim 6-something on slack 10.0 > >On my previous version and box, if I searched on an expression > >in one file, closed it and opened another, "n" would continue > >with the search. > > > >Now, I get an "E35: No previous regular expression". > > > >I've imported all of my previous settings, .vimrc etc... > >so I don't know how to correct this. > > > If you close and reopen Vim, the last search pattern is remembered -- or > not -- in the viminfo file. (It is one of the "registers".) The search > history can also be saved. See ":help 'viminfo'".
And since this is Ubuntu... .viminfo probably got owned by root and therefore it is not writable, as was discussed in the recent thread. Yeti -- http://gwyddion.net/