|
3 | 3 | helpname: 'pi_getscript'
|
4 | 4 | ---
|
5 | 5 | <div id='vimCodeElement'>
|
6 |
| -<a class="Constant" href="pi_getscript.html" name="pi_getscript.txt">pi_getscript.txt</a> For <span class="Identifier">Vim バージョン 9.1.</span> Last change: 2017 Aug 01<br> |
| 6 | +<a class="Constant" href="pi_getscript.html" name="pi_getscript.txt">pi_getscript.txt</a> For <span class="Identifier">Vim バージョン 9.1.</span> Last change: 2024 Sep 08<br> |
7 | 7 | ><br>
|
8 | 8 | <div class="helpExample"> GETSCRIPT REFERENCE MANUAL by Charles E. Campbell</div>
|
9 | 9 | <<br>
|
|
25 | 25 | Getscript はあなたが使っている Vim script の最新バージョンを簡単に検索するため<br>
|
26 | 26 | のプラグインです。<a class="Identifier" href="pi_getscript.html#:GLVS">:GLVS</a> と入力すると getscript が実行されます。すると、<br>
|
27 | 27 | <GetLatestVimScripts.dat> ファイル (<a class="Identifier" href="pi_getscript.html#GetLatestVimScripts_dat">GetLatestVimScripts_dat</a>参照) に列挙され<br>
|
28 |
| -たスクリプトの最新バージョンが <span class="Constant"><a href="http://vim.sf.net/">http://vim.sf.net/</a></span> から取得されます。<br> |
| 28 | +たスクリプトの最新バージョンが <span class="Constant"><a href="https://www.vim.org/">https://www.vim.org/</a></span> から取得されます。<br> |
29 | 29 | <br>
|
30 | 30 | <span class="PreProc">==============================================================================</span><br>
|
31 | 31 | 1. 目次 <a class="Constant" href="pi_getscript.html#glvs-contents" name="glvs-contents">glvs-contents</a> <a class="Constant" href="pi_getscript.html#glvs" name="glvs">glvs</a> <a class="Constant" href="pi_getscript.html#getscript" name="getscript">getscript</a><br>
|
|
62 | 62 | <br>
|
63 | 63 | GetLatestVimScripts の動作には wget か curl が必要です。<br>
|
64 | 64 | <br>
|
65 |
| - 1. ファイルが圧縮されている場合: gunzip getscript.vba.gz<br> |
| 65 | + 1. ファイルが圧縮されている場合: gunzip getscript.vmb.gz<br> |
66 | 66 | 2. Unix:<br>
|
67 |
| - vim getscript.vba<br> |
| 67 | + vim getscript.vmb<br> |
68 | 68 | :so %<br>
|
69 | 69 | :q<br>
|
70 | 70 | cd ~/.vim/GetLatest<br>
|
|
73 | 73 | インの一覧を書いてください。<a class="Identifier" href="pi_getscript.html#GetLatestVimScripts_dat">GetLatestVimScripts_dat</a> 参照)<br>
|
74 | 74 | <br>
|
75 | 75 | 3. Windows:<br>
|
76 |
| - vim getscript.vba<br> |
| 76 | + vim getscript.vmb<br> |
77 | 77 | :so %<br>
|
78 | 78 | :q<br>
|
79 | 79 | cd **path-to-vimfiles**/GetLatest<br>
|
|
277 | 277 | <br>
|
278 | 278 | ---.tar.bz2 : 伸長して .vim/ ディレクトリに展開<br>
|
279 | 279 | ---.vba.bz2 : 伸長して .vim/ ディレクトリにコピー、vimball で処理<br>
|
| 280 | + ---.vmb.bz2 : 伸長して .vim/ ディレクトリにコピー、vimball で処理<br> |
280 | 281 | ---.vim.bz2 : 伸長して .vim/plugin ディレクトリにコピー<br>
|
281 | 282 | ---.tar.gz : 伸長して .vim/ 展開<br>
|
282 | 283 | ---.vba.gz : 伸長して .vim/ ディレクトリにコピー、vimball で処理<br>
|
| 284 | + ---.vmb.gz : 伸長して .vim/ ディレクトリにコピー、vimball で処理<br> |
283 | 285 | ---.vim.gz : 伸長して .vim/plugin ディレクトリにコピー<br>
|
284 |
| - ---.vba : .vim/ ディレクトリに展開<br> |
285 |
| - ---.vim : .vim/plugin にコピー<br> |
| 286 | + ---.vba : .vim/ ディレクトリにコピー、vimball で処理<br> |
| 287 | + ---.vmb : .vim/ ディレクトリにコピー、vimball で処理<br> |
| 288 | + ---.vim : .vim/plugin ディレクトリにコピー<br> |
286 | 289 | ---.zip : .vim/ ディレクトリに展開<br>
|
287 | 290 | <br>
|
288 | 291 | ただし、圧縮ファイルを展開するか、あるいはファイルをプラグインディレクトリにコ<br>
|
|
296 | 299 | <blockhl.vim> は C/C++ のブロックを強調表示するスクリプトです。次の場所から入<br>
|
297 | 300 | 手できます:<br>
|
298 | 301 | <br>
|
299 |
| - <span class="Constant"><a href="http://vim.sourceforge.net/scripts/script.php?script_id=104">http://vim.sourceforge.net/scripts/script.php?script_id=104</a></span><br> |
| 302 | + <span class="Constant"><a href="https://www.vim.org/scripts/script.php?script_id=104">https://www.vim.org/scripts/script.php?script_id=104</a></span><br> |
300 | 303 | <br>
|
301 | 304 | 現在、Vim の after/syntax はファイルタイプと同じ名前のスクリプトしかサポートし<br>
|
302 | 305 | てません (blockhl.vim の場合は、after/syntax/c.vim)。そのため、自動的にインス<br>
|
|
305 | 308 | 私は個人的に、<aftersyntax.vim> を after/syntax/c.vim にコピーして、<br>
|
306 | 309 | after/syntax/c/ ディレクトリを使えるようにしています:<br>
|
307 | 310 | <br>
|
308 |
| - <span class="Constant"><a href="http://vim.sourceforge.net/scripts/script.php?script_id=1023">http://vim.sourceforge.net/scripts/script.php?script_id=1023</a></span><br> |
| 311 | + <span class="Constant"><a href="https://www.vim.org/scripts/script.php?script_id=1023">https://www.vim.org/scripts/script.php?script_id=1023</a></span><br> |
309 | 312 | <br>
|
310 | 313 | このスクリプトを使うと、after/syntax/c ディレクトリにある複数のファイルをシン<br>
|
311 | 314 | タックスファイルとして使えます。ユーザーの after/syntax/c.vim を上書きしてしま<br>
|
|
339 | 342 | vimball のインストールには適用されません。<br>
|
340 | 343 | ><br>
|
341 | 344 | <div class="helpExample"> g:GetLatestVimScripts_scriptaddr</div>
|
342 |
| -< 初期設定='<span class="Constant"><a href="http://vim.sourceforge.net/script.php?script_id">http://vim.sourceforge.net/script.php?script_id</a></span>='<br> |
| 345 | +< 初期設定='<span class="Constant"><a href="https://www.vim.org/scripts/script.php?script_id">https://www.vim.org/scripts/script.php?script_id</a></span>='<br> |
343 | 346 | あなたのシステムで設定が必要な場合に上書きしてください。<br>
|
344 |
| - ... ='<span class="Constant"><a href="http://vim.sourceforge.net/script/script.php?script_id">http://vim.sourceforge.net/script/script.php?script_id</a></span>='<br> |
| 347 | + ... ='<span class="Constant"><a href="http://vim.sourceforge.net/script.php?script_id">http://vim.sourceforge.net/script.php?script_id</a></span>='<br> |
| 348 | +><br> |
| 349 | +<div class="helpExample"> g:GetLatestVimScripts_downloadaddr</div> |
| 350 | +< 初期設定='<span class="Constant"><a href="https://www.vim.org/scripts/download_script.php?src_id">https://www.vim.org/scripts/download_script.php?src_id</a></span>='<br> |
| 351 | + あなたのシステムで設定が必要な場合に上書きしてください。<br> |
| 352 | + ... ='<span class="Constant"><a href="http://vim.sourceforge.net/scripts/download_script.php?src_id">http://vim.sourceforge.net/scripts/download_script.php?src_id</a></span>='<br> |
| 353 | +><br> |
345 | 354 | <br>
|
346 | 355 | <span class="PreProc">==============================================================================</span><br>
|
347 | 356 | 8. GetLatestVimScripts アルゴリズム <a class="Constant" href="pi_getscript.html#glvs-algorithm" name="glvs-algorithm">glvs-algorithm</a> <a class="Constant" href="pi_getscript.html#glvs-alg" name="glvs-alg">glvs-alg</a><br>
|
348 | 357 | <br>
|
349 | 358 | Vim の Web サイトでは、スクリプトID を利用してページを動的に生成しています。<br>
|
350 | 359 | <br>
|
351 |
| - <span class="Constant"><a href="http://vim.sourceforge.net/scripts/script.php?script_id=40">http://vim.sourceforge.net/scripts/script.php?script_id=40</a></span><br> |
| 360 | + <span class="Constant"><a href="https://www.vim.org/scripts/script.php?script_id=40">https://www.vim.org/scripts/script.php?script_id=40</a></span><br> |
352 | 361 | <br>
|
353 | 362 | ページ内には最新の ソースID が書かれています。ソースID の番号は再利用されない<br>
|
354 | 363 | ので、その番号が、GetLatestVimScripts.dat に記録された番号より大きい場合は、新<br>
|
|
0 commit comments