1
- *pi_getscript.txt* For Vim version 9.1. Last change: 2017 Aug 01
1
+ *pi_getscript.txt* For Vim version 9.1. Last change: 2024 Sep 08
2
2
>
3
3
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell
4
4
<
@@ -20,7 +20,7 @@ Copyright: (c) 2004-2012 by Charles E. Campbell *glvs-copyright*
20
20
Getscript is a plugin that simplifies retrieval of the latest versions of the
21
21
scripts that you yourself use! Typing | :GLVS | will invoke getscript; it will
22
22
then use the <GetLatestVimScripts.dat> (see | GetLatestVimScripts_dat | ) file to
23
- get the latest versions of scripts listed therein from http ://vim.sf.net / .
23
+ get the latest versions of scripts listed therein from https ://www. vim.org / .
24
24
25
25
==============================================================================
26
26
1. Contents *glvs-contents* *glvs* *getscript*
@@ -59,9 +59,9 @@ the "important" part of it is the first two lines.
59
59
60
60
Your computer needs to have wget or curl for GetLatestVimScripts to do its work.
61
61
62
- 1. if compressed: gunzip getscript.vba .gz
62
+ 1. if compressed: gunzip getscript.vmb .gz
63
63
2. Unix:
64
- vim getscript.vba
64
+ vim getscript.vmb
65
65
:so %
66
66
:q
67
67
cd ~/.vim/GetLatest
@@ -70,7 +70,7 @@ Your computer needs to have wget or curl for GetLatestVimScripts to do its work.
70
70
list of desired plugins -- see | GetLatestVimScripts_dat | )
71
71
72
72
3. Windows:
73
- vim getscript.vba
73
+ vim getscript.vmb
74
74
:so %
75
75
:q
76
76
cd **path-to-vimfiles**/GetLatest
@@ -281,11 +281,14 @@ With :AutoInstall: enabled, as it is by default, files which end with
281
281
282
282
---.tar.bz2 : decompressed & untarred in .vim/ directory
283
283
---.vba.bz2 : decompressed in .vim/ directory, then vimball handles it
284
+ ---.vmb.bz2 : decompressed in .vim/ directory, then vimball handles it
284
285
---.vim.bz2 : decompressed & moved into .vim/plugin directory
285
286
---.tar.gz : decompressed & untarred in .vim/ directory
286
287
---.vba.gz : decompressed in .vim/ directory, then vimball handles it
288
+ ---.vmb.gz : decompressed in .vim/ directory, then vimball handles it
287
289
---.vim.gz : decompressed & moved into .vim/plugin directory
288
- ---.vba : unzipped in .vim/ directory
290
+ ---.vba : moved to .vim/ directory, then vimball handles it
291
+ ---.vmb : moved to .vim/ directory, then vimball handles it
289
292
---.vim : moved to .vim/plugin directory
290
293
---.zip : unzipped in .vim/ directory
291
294
@@ -300,7 +303,7 @@ When is a script not auto-installable? Let me give an example:
300
303
The <blockhl.vim> script provides block highlighting for C/C++ programs; it is
301
304
available at:
302
305
303
- http ://vim.sourceforge.net /scripts/script.php?script_id=104
306
+ https ://www. vim.org /scripts/script.php?script_id=104
304
307
305
308
Currently, vim's after/syntax only supports by-filetype scripts (in
306
309
blockhl.vim's case, that's after/syntax/c.vim). Hence, auto-install would
@@ -309,7 +312,7 @@ possibly overwrite the current user's after/syntax/c.vim file.
309
312
In my own case, I use <aftersyntax.vim> (renamed to after/syntax/c.vim) to
310
313
allow a after/syntax/c/ directory:
311
314
312
- http ://vim.sourceforge.net /scripts/script.php?script_id=1023
315
+ https ://www. vim.org /scripts/script.php?script_id=1023
313
316
314
317
The script allows multiple syntax files to exist separately in the
315
318
after/syntax/c subdirectory. I can't bundle aftersyntax.vim in and build an
@@ -345,17 +348,22 @@ after/syntax/c.vim contained in it to overwrite a user's c.vim.
345
348
Doesn't override vimball installation.
346
349
>
347
350
g:GetLatestVimScripts_scriptaddr
348
- < default='http ://vim.sourceforge.net /script.php?script_id ='
351
+ < default='https ://www. vim.org/scripts /script.php?script_id ='
349
352
Override this if your system needs
350
- ... ='http://vim.sourceforge.net/script/script.php?script_id ='
351
-
353
+ ... ='http://vim.sourceforge.net/script.php?script_id ='
354
+ >
355
+ g:GetLatestVimScripts_downloadaddr
356
+ < default='https://www.vim.org/scripts/download_script.php?src_id ='
357
+ Override this if your system needs
358
+ ... ='http://vim.sourceforge.net/scripts/download_script.php?src_id ='
359
+ >
352
360
==============================================================================
353
361
8. GetLatestVimScripts Algorithm *glvs-algorithm* *glvs-alg*
354
362
355
363
The Vim sourceforge page dynamically creates a page by keying off of the
356
364
so-called script-id. Within the webpage of
357
365
358
- http ://vim.sourceforge.net /scripts/script.php?script_id=40
366
+ https ://www. vim.org /scripts/script.php?script_id=40
359
367
360
368
is a line specifying the latest source-id (src_id). The source identifier
361
369
numbers are always increasing, hence if the src_id is greater than the one
0 commit comments