Permalink
Browse files

added VAM instructions

  • Loading branch information...
1 parent a500ffa commit 417a4e3c2657e0965f0510d2ffed8a524959ced5 megaannum committed Jul 29, 2012
Showing with 39 additions and 0 deletions.
  1. +39 −0 README.md
View
@@ -120,6 +120,45 @@ The plugin directory contains a forms.vim file that contains mapping
for launching the demonstration form as well as the menu and popup
forms.
+## Intalling with vim-addon-manager (VAM)
+
+For more information about vim-addon-manager, see [vim-addon-manager](https://github.com/MarcWeber/vim-addon-manager) and [Vim-addon-manager getting started](https://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager-getting-started.txt)
+
+In your .vimrc, add self as shown below:
+
+ fun SetupVAM()
+
+ ...
+
+ let g:vim_addon_manager = {}
+ let g:vim_addon_manager.plugin_sources = {}
+
+ ....
+
+ let g:vim_addon_manager.plugin_sources['self'] = {'type': 'git', 'url': 'git://github.com/megaannum/self.git'}
+ let g:vim_addon_manager.plugin_sources['forms'] = {'type': 'git', 'url': 'git://github.com/megaannum/forms.git'}
+
+
+ let plugins = [
+ \ 'self',
+ \ 'forms'
+ \ ]
+
+ call vam#ActivateAddons(plugins,{'auto_install' : 0})
+
+ ...
+
+ endf
+ call SetupVAM()
+
+
+Now start Vim. You will be asked by vim-addon-manager
+if you would like to download and install the self plugin (no dependencies).
+
+## Installing with pathogen
+
+I do not use pathogen. An example usage would be welcome.
+
# Usage
The Forms library is just that, a library. One uses it to create and

0 comments on commit 417a4e3

Please sign in to comment.