Hello vimmers:

I am one of the users who want the default file explorer to be explorer.vim
in Vim 6.x rather than netrw.
And from line 78 of pi_netrw.txt I got the following:

> You can avoid loading this plugin by setting the "loaded_netrw" variable
> in your <.vimrc> file: >
>         :let loaded_netrw = 1

In Vim 7.0, this works, I add the above into .vimrc and put the
explorer.vim of Vim 6.4 into ~/.vim/plugin and then :Explore launchs the
old explorer instead.

However, in Vim 7.1 this does not work, when I run :Explore it reports
netrw#Explore not found. My explorer.vim does not launch.
Done some research and I found that the $VIMRUNTIME/plugin/netrwPlugin.vim
now use the loaded_netrwPlugin variable.

So I should use the following in my .vimrc to effectively disable the netrw
plugin:
:let loaded_netrw = 1
:let loaded_netrwPlugin = 1

I don't want to argue now that netrw should be a new plugin instead of
replace the existing explorer.vim. But if the new version of netrwPlugin in
Vim 7.1 silently breaks the explorer.vim, should it be documented?

My point is :
The following should be added to line 81 of pi_netrw.txt version 2007 May
08.
:let loaded_netrwPlugin = 1

If DrChip thinks the document should not change, then the netrwPlugin might
have to be changed to still recognize the "loaded_netrw" variable.

HTH
--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to