-
Notifications
You must be signed in to change notification settings - Fork 1
/
0642 - GetLatestVimScripts.json
171 lines (171 loc) · 10.6 KB
/
0642 - GetLatestVimScripts.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"script_id": "642",
"display_name": "GetLatestVimScripts",
"summary": "Keep your plugins up-to-date! (semi-automatic retrieval)",
"name": "GetLatestVimScripts",
"script_type": "utility",
"description": "GetLatestVimScripts is a plugin that automates retrieval of the latest versions of the scripts that you yourself use!\n\n * automatic up-to-date plugins\n * automatic installation for cooperating plugins\n * automatic constructions of GetLatestVimScripts.dat for cooperating plugins\n\n\n-----\nUsage:\n-----\n\n :GetLatestVimScripts\n-or-\n :GLVS\n\nDownloaded files are placed in the .vim/GetLatest directory (vimfiles\\GetLatest). Those scripts that have an :AutoInstall: in their GetLatestVimScripts comment will be (you guessed it!) automatically installed.\n\nGetLatestVimScripts depends on a file called GetLatest/GetLatestVimScripts.dat. This file tells GetLatestVimScripts what plugins you're interested in and want to keep up-to-date. Each line in the file has the form:\n\n ScriptID SrcID ScriptName\n\nwhere\n\n ScriptID : you'll see it on the top of your browser in its \"Location:\" box whenever you click on the script at http://vim.sf.net/ .\n SrcID : start it off with a \"1\"; :GetLatestVimScripts will download the file and keep this entry updated automatically\n ScriptName: the name or title of the script (may have spaces, etc)\n\nIn the distribution is <GetLatestVimScripts.dist>; its an example of a <GetLatestVimScripts.dat> file. In fact, you\ncan rename it to <GetLatestVimScripts.dat> and use it if you wish; it contains lines telling GetLatestVimScripts\nto automate retrieval of <Align.vim>, <Mines.vim>, etc. Please feel free to edit the file as you wish.\n\nGetLatestVimScripts examines the plugins you currently have for lines that look like: (Align.vim's is shown)\n\n \" GetLatestVimScripts: 294 1 :AutoInstall: Align.vim\n\nPlugins that have such lines enable GetLatestVimScripts to automatically build the GetLatestVimScripts.dat file\nfor you. The :AutoInstall: in the comment tells GetLatestVimScripts that the plugin is safe to automatically install, too.\n\n------------\nHow It Works\n------------\n\nVim.sf.net has a separate SrcID for every script that is uploaded. With Netscape, Mozilla, and Internet-Explorer, when you move the cursor on top of the script you'd like to download, you'll see a line resembling ...src_id=###. As new scripts and newly uploaded scripts are placed on vim.sf.net, the src_id is incremented. Hence the newer ones will have greater SrcIDs, so GetLatestVimScripts compares the SrcID in your <GetLatestVimScripts.dat> file with what vim.sf.net has; if there's a newer one, GetLatestVimScripts will \"wget\" it.\n\nThe GetLatestVimScripts script will modify the GetLatestVimScripts.dat file whenever it downloads a new source file to reflect the latest SrcID, too.\n\n\n----------------------------------------\nSemi-Automatic Script Dependency Support\n----------------------------------------\n\nGetLatestVimScripts will examine your plugins for comment lines of the form\n\n \" GetLatestVimScripts: ScriptID SrcID ScriptName\n\nSuch lines will be appropriately appended to the GetLatest/GetLatestVimScripts.dat file (if not already present) whenever :GetLatestVimScripts is invoked. Thus if your newly downloaded script has such lines in it, thereby indicating that it depends upon the presence of specific scripts, GetLatestVimScripts will keep such dependent scripts up to date, too.\n\n\n--------\nRequired\n--------\n\n wget\n\nie. you'll need to have wget somewhere on your path for GetLatestVimScripts to work.\n\n(alpha/beta version available at http://mysite.verizon.net/astronaut/vim/index.html#GETSCRIPT)\n",
"install_details": "\t(you will need an up-to-date install of vimball, vimscript#1502, although vim 7.1a or later's vimball is probably ok)\n\n1. vim getscript.vba.gz\n :so %\n :q\n2. a) Unix:\n cd ~/.vim/GetLatest\n b) Windows:\n cd ..wherever..\\vimfiles\\GetLatest\n3. mv GetLatestVimScripts.dist GetLatestVimScripts.dat\n4. Edit GetLatestVimScripts.dat to install the plugins in which you're interested. To the extent that plugin authors have included lines such as\n\n \" GetLatestVimScripts: [scriptid] 1 [:AutoInstall:] PluginName.vim\n\n in their plugins, GetLatestVimScripts will be able to construct the GetLatestVimScripts.dat file itself.\n",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=15781",
"filename": "getscript.vba.gz",
"script_version": "33",
"date": "2011-05-31",
"vim_version": "7.3",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "*.xz compression supported\nBug fixes: acd option bypass, fnameescape used instead of escape(), hls problem fixed\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=8136",
"filename": "getscript.vba.gz",
"script_version": "29",
"date": "2008-01-08",
"vim_version": "7.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "Another bugfix."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=8132",
"filename": "getscript.vba.gz",
"script_version": "28",
"date": "2008-01-07",
"vim_version": "7.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "Getscript has improved shell quote handling and avoids pop-up windows under WinXP more often\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=7080",
"filename": "getscript.vba.gz",
"script_version": "25",
"date": "2007-05-08",
"vim_version": "7.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "removed save&restore of the fo option during script loading\nignores comments (#...) in GetLatestVimScripts.dat file\nsupports vimballs (*.vba, *.vba.gz)"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=6945",
"filename": "getscript.vba.gz",
"script_version": "23",
"date": "2007-04-04",
"vim_version": "7.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "Autoinstall handles vimballs and ignores #... as comments"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=6277",
"filename": "getscript.vba.gz",
"script_version": "22",
"date": "2006-10-13",
"vim_version": "7.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "* Now takes advantage of autoloading.\n* Supports automatic use of curl if wget is not available.\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=5228",
"filename": "GetLatestVimScripts.tar.gz",
"script_version": "20",
"date": "2006-02-15",
"vim_version": "6.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "bugfix -- unzip needed the -o flag to overwrite\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=4665",
"filename": "GetLatestVimScripts.tar.gz",
"script_version": "18",
"date": "2005-10-11",
"vim_version": "6.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "Bugfix release: improvement to automatic downloading database construction; nowrapscan no longer throws an error; with bash, mv instead of ren is used; and downloading problems are handled better.\ng:GetLatestVimScripts_autoinstall (default=1) can be used to prevent any :AutoInstall:s.\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=3382",
"filename": "GetLatestVimScripts.tar.bz2",
"script_version": "16",
"date": "2004-08-25",
"vim_version": "6.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": ":GLVS command made available if not already present\nMade execution of bunzip2/gunzip/tar/zip silent.\nbugfix: With :AutoInstall: use of helptags. Fixed!\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=3359",
"filename": "GetLatestVimScripts.tar.bz2",
"script_version": "11",
"date": "2004-08-20",
"vim_version": "6.0",
"author": {
"user_id": "96",
"user_name": "cec",
"first_name": "Charles",
"last_name": "Campbell",
"email": "drchip@campbellfamily.biz",
"homepage": "http://mysite.verizon.net/astronaut/index.html"
},
"release_notes": "The newest GetLatestVimScripts is a plugin! Use :GetLatestVimScripts to get the latest versions of the scripts you're interested in. Scriptnames and ids are now in a GetLatest/GetLatestVimScripts.dat datafile. GetLatestVimScripts also examines cooperating plugins for dependencies, helps build the datafile, and keeps them up-to-date too!\n"
}
]
}