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
22>
33 GETSCRIPT REFERENCE MANUAL by Charles E. Campbell
44<
@@ -20,7 +20,7 @@ Copyright: (c) 2004-2012 by Charles E. Campbell *glvs-copyright*
2020Getscript is a plugin that simplifies retrieval of the latest versions of the
2121scripts that you yourself use! Typing | :GLVS | will invoke getscript; it will
2222then 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 / .
2424
2525==============================================================================
26261. Contents *glvs-contents* *glvs* *getscript*
@@ -59,9 +59,9 @@ the "important" part of it is the first two lines.
5959
6060Your computer needs to have wget or curl for GetLatestVimScripts to do its work.
6161
62- 1. if compressed: gunzip getscript.vba .gz
62+ 1. if compressed: gunzip getscript.vmb .gz
6363 2. Unix:
64- vim getscript.vba
64+ vim getscript.vmb
6565 :so %
6666 :q
6767 cd ~/.vim/GetLatest
@@ -70,7 +70,7 @@ Your computer needs to have wget or curl for GetLatestVimScripts to do its work.
7070 list of desired plugins -- see | GetLatestVimScripts_dat | )
7171
7272 3. Windows:
73- vim getscript.vba
73+ vim getscript.vmb
7474 :so %
7575 :q
7676 cd **path-to-vimfiles**/GetLatest
@@ -281,11 +281,14 @@ With :AutoInstall: enabled, as it is by default, files which end with
281281
282282 ---.tar.bz2 : decompressed & untarred in .vim/ directory
283283 ---.vba.bz2 : decompressed in .vim/ directory, then vimball handles it
284+ ---.vmb.bz2 : decompressed in .vim/ directory, then vimball handles it
284285 ---.vim.bz2 : decompressed & moved into .vim/plugin directory
285286 ---.tar.gz : decompressed & untarred in .vim/ directory
286287 ---.vba.gz : decompressed in .vim/ directory, then vimball handles it
288+ ---.vmb.gz : decompressed in .vim/ directory, then vimball handles it
287289 ---.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
289292 ---.vim : moved to .vim/plugin directory
290293 ---.zip : unzipped in .vim/ directory
291294
@@ -300,7 +303,7 @@ When is a script not auto-installable? Let me give an example:
300303The <blockhl.vim> script provides block highlighting for C/C++ programs; it is
301304available at:
302305
303- http ://vim.sourceforge.net /scripts/script.php?script_id=104
306+ https ://www. vim.org /scripts/script.php?script_id=104
304307
305308Currently, vim's after/syntax only supports by-filetype scripts (in
306309blockhl.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.
309312In my own case, I use <aftersyntax.vim> (renamed to after/syntax/c.vim) to
310313allow a after/syntax/c/ directory:
311314
312- http ://vim.sourceforge.net /scripts/script.php?script_id=1023
315+ https ://www. vim.org /scripts/script.php?script_id=1023
313316
314317The script allows multiple syntax files to exist separately in the
315318after/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.
345348 Doesn't override vimball installation.
346349>
347350 g:GetLatestVimScripts_scriptaddr
348- < default='http ://vim.sourceforge.net /script.php?script_id ='
351+ < default='https ://www. vim.org/scripts /script.php?script_id ='
349352 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+ >
352360==============================================================================
3533618. GetLatestVimScripts Algorithm *glvs-algorithm* *glvs-alg*
354362
355363The Vim sourceforge page dynamically creates a page by keying off of the
356364so-called script-id. Within the webpage of
357365
358- http ://vim.sourceforge.net /scripts/script.php?script_id=40
366+ https ://www. vim.org /scripts/script.php?script_id=40
359367
360368is a line specifying the latest source-id (src_id). The source identifier
361369numbers are always increasing, hence if the src_id is greater than the one
0 commit comments