Hari Krishna Dara wrote:
On Thu, 20 Apr 2006 at 9:58am, Charles E Campbell Jr wrote:
Please try setting g:netrw_fastbrowse=0 in your .vimrc. Hopefully the
jumplist will then be
retained.
Did you mean the value "2"?
Whoops -- yes, I meant "2". If you want the jumplist to work, you need
places to jump to,
which in turn means cached buffers. That's the way that netrw used to
always work; the
fastbrowse stuff is relatively recent, and to implement it netrw
deliberately wipes out
netrw buffers that aren't being currently displayed.
So, its a trade-off for users to make. Hidden (ie. :ls won't display
netrw buffers), but available,
thereby making fast re-displays of previously seen directory listings.
Also makes the jumplist
useful. Versus: re-acquisition of a directory listing every time a
directory is entered, so netrw's
directory listing is up-to-date as of the display time (cursor
leaving/entering will also cause
netrw to update browser displays), but the jumplist is "forgetful".
Regards,
Chip Campbell