Hi,

Is it possible to ignore the existence of the system global plugin
directory?

I know we can set "noloadplugins", but I want to enable ftplugin and
indent plugin.

For example: I found the following scripts were loaded whenever I open
vim:

  9: C:/usr/share/vim/vim72/runtime/plugin/getscriptPlugin.vim
 10: C:/usr/share/vim/vim72/runtime/plugin/gzip.vim
 11: C:/usr/share/vim/vim72/runtime/plugin/matchparen.vim
 12: C:/usr/share/vim/vim72/runtime/plugin/netrwPlugin.vim
 13: C:/usr/share/vim/vim72/runtime/plugin/rrhelper.vim
 14: C:/usr/share/vim/vim72/runtime/plugin/spellfile.vim
 15: C:/usr/share/vim/vim72/runtime/plugin/tarPlugin.vim
 16: C:/usr/share/vim/vim72/runtime/plugin/tohtml.vim
 17: C:/usr/share/vim/vim72/runtime/plugin/vimballPlugin.vim
 18: C:/usr/share/vim/vim72/runtime/plugin/zipPlugin.vim

My workaround is to set the following variables in my .vimrc:

let g:netrw_silent=1
let g:loaded_rrhelper=1
let g:loaded_gzip=1
let g:loaded_getscriptPlugin=1
let g:loaded_vimballPlugin=1
let g:loaded_netrwPlugin=1
let g:loaded_zipPlugin=1
let g:loaded_tarPlugin=1
let g:netrw_use_noswf= 0

I am wondering if there is better way to do it?

Thanks

Sean

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to