Tuesday, June 26, 2012

Re: Vim addon manager with several folders for plugins

2012/6/26 Marc Weber <marco-oweber@gmx.de>:
> Excerpts from Pablo Giménez's message of Tue Jun 26 04:16:37 +0200 2012:
>> I wonder if it is possible to have several folders for plugins in VAM.
> We don't officially support such. .vim files and plugins are small, thus
> duplication is not an issue. Updating can be done by running git pull in
> all git subdirectories:
>
> for i in ~/.vim/vim-addons/*/.git; do
>  ( cd $i/..; git pull )
> done
>
> or such assuming that most plugins are git based plugins anyway today.
>
> The less official way is overwriting
>  let s:c['plugin_dir_by_name'] = get(s:c, 'plugin_dir_by_name', 'vam#DefaultPluginDirFromName')
> function which could look in multiple "lib" dirs for addon names.
> However some features such as completion or uninstall support will break
> (see docs or comments).
>
> The main reason why I will never support what you ask for is the 20% of
> effort should yield 80% of value rule. Its too complex - I would not
> have time to maintain it.
Ok no problem I understand.
>
> Another way would be writing a script symlinking system plugins into your
> personal ~/.vim/vim-addons directory. VAM will not care about it if it
> finds folders with the addon names it looking for. you can automate this
> using a 3 line bash script, too.
Yep this is a good option.
Thanks!
>
> HTH
> Marc Weber
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php



--
Un saludo
Best Regards
Pablo Giménez

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: