|
Hello.
I wonder if it is possible to have several folders for plugins in VAM. I have a folder with several bundles I want to use, let's say is a system folder I can write in. And then I have another folder where I can install plugins, could I use both of them, one as a "system bundles", potentially shared by other users, and another as a "user bundles" just for me to install other plugins I may need. Thanks -- 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 |
|
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. 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. 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 |
|
2012/6/26 Marc Weber <[hidden email]>:
> 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. > > 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 |
| Powered by Nabble | Edit this page |
