Vim Script Updater : Automatically update vim scripts
script karma |
Rating 11/4,
Downloaded by 3131 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
David Munger |
|
script type |
utility |
|
description |
This Python script updates vim scripts listed in a watch list that you create.
It converts any script to a vimball, thus allowing for easier uninstallation with :RmVimball.
You can have multiple watch lists if you want to keep things sorted.
If you don't care about vimballs and prefer a script that is run from within Vim rather than in the terminal, you can use GetLatestVimScripts: vimscript#642
When run, it parses a watch-list file, looks for updates on www.vim.org, asks for a confirmation to download updated scripts, converts them to vimballs and installs them, and commits changes to the watch list.
The script is quite new and still needs some debugging. Please report bugs to me.
If you use a watch list from the former bash implementation, the new Python version will need to redownload all the scripts once to upgrade the watch list format. I have rewritten the script in Python to get rid of the dependencies (xsltproc, curl, etc.) of the bash version.
--------------------------------------------------------------------
usage: ./vim-update-scripts.py watchlist
where watchlist is a file containing one or more lines with the following syntax:
script ID
or
script ID|prefix
Example file:
42
1259|colors
3096|plugin
3108
|
|
install details |
1. Download the file vim-update-scripts.py
2. Make it executable:
chmod +x vim-update-scripts.py
3. Create a watch list:
echo -e "42\n1259|colors\n3096|plugin\n3108" > watch-list
4. Run the script once in a while:
./vim-update-scripts.py watch-list
Note: You can change the line VIM = 'vim' at the beginning of the script to suit your needs. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|