vimpire /

Filename Size Date modified Message
20 B
1.6 KB
5.7 KB

This is a script that manages plugins hosted on git, hg or vim.org and make them available to pathogen, so it make your vim ever the more awesome!

First off, this script assumes you have a file called ~/.vimrc file. In that file, put lines like the following, (one for each plugin you want):

" plugin: name type path

Where:

name
is plugin name.
type
plugin type, supported types are these: hg, git, vim
path
this is type dependent path to plugin.

Examples:

" plugin: bufexplorer vim http://www.vim.org/scripts/script.php?script_id=42
map     <F3>        :BufExplorer<CR>

" plugin: vcscommand git git://repo.or.cz/vcscommand.git

" plugin: pyflakes git git://github.com/kevinw/pyflakes-vim.git

Note: You can get github links from http://vim-scripts.org for plugins that don't offer sane deployment options.

Add any number such bundle lines with various plugins.

Now, navigate to your vimfiles or dotvim directory and do:

$ wget http://bitbucket.org/sharat87/vimpire/raw/tip/vimpire.py
$ python3 vimpire.py

You may also include a run directive below plugin directive that will be executed after getting/updating the corresponding bundle. Note that this command will be run with the plugin's directory as the pwd. For example, to compile Command-T plugin:

" plugin: command-t git git://git.wincent.com/command-t.git
" run: (cd ruby/command-t ; ruby extconf.rb && make)

If a bundle entry is deleted, or a directory exists in the bundle directory, without a corresponding entry in the vimrc file, it will be deleted.

Report any issues whatsoever :)

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.