Bug#635984: [patch] Only create ~/.vim if netrw_dirhistmax > 0

James McCoy jamessan at debian.org
Fri Nov 23 20:14:00 UTC 2012


Hi Charles,

NetRW provides g:netrw_dirhistmax as a way to prevent creating the
.netrwhist and .netrwbook files.  However, even when this variable is <=
0 NetRW will create the home directory to store these files.  The
attached patch changes this to only create the home directory if the
files are also going to be created.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netrw-homedir.diff
Type: text/x-diff
Size: 389 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20121123/a39ae0a3/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20121123/a39ae0a3/attachment-0001.pgp>


More information about the pkg-vim-maintainers mailing list