Bug#635984: Please provide a way to disable persistent netrw history

Josh Triplett josh at joshtriplett.org
Mon Aug 1 19:13:38 UTC 2011


On Sun, Jul 31, 2011 at 12:06:21PM -0400, James Vega wrote:
> On Fri, Jul 29, 2011 at 04:12:01PM -0700, Josh Triplett wrote:
> > Every time I open a directory in vim, I end up with a file
> > ~/.vim/.netrwhist .  I'd like to disable that persistent history, but as
> > far as I can tell vim doesn't provide an option to do so.
> 
> NetRW's documentation mentions a g:netrw_dirhistmax variable which looks
> like it controls that.  Does 'let g:netrw_dirhistmax=0' help?

Somewhat.  It prevents the creation of ~/.netrwhist, though ~/.vim still
gets created.

- Josh Triplett





More information about the pkg-vim-maintainers mailing list