diff --git a/doc/repeat.jax b/doc/repeat.jax index eef8a0d3d..a24e24859 100644 --- a/doc/repeat.jax +++ b/doc/repeat.jax @@ -1,4 +1,4 @@ -*repeat.txt* For Vim バージョン 9.1. Last change: 2024 Aug 12 +*repeat.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05 VIMリファレンスマニュアル by Bram Moolenaar @@ -101,9 +101,9 @@ undo/redoコマンドはglobalコマンドを一気にundo/redoする。以前 globalコマンドは最後に使用した検索パターンと、最後に使用した置換パターンの両方 を設定する (これはvi互換)。これにより全体に対して文字列置換を行うのが簡単にな -る: +る: > :g/pat/s//PAT/g -これは全ての "pat" を "PAT" に置き換える。同じことがこれでも可能: +これは全ての "pat" を "PAT" に置き換える。同じことがこれでも可能: > :%s/pat/PAT/g こっちのほうが2文字短い! @@ -512,7 +512,6 @@ Windowsで作られたファイル)を使っているならば、全ての行が \:%, \n:>, \fb:- - 次の1行と同じ意味として解釈される: > :set comments=sr:/*,mb:*,el:*/,://,b:#,:%,n:>,fb:- @@ -598,7 +597,7 @@ Vim script のパッケージは1つかそれ以上のプラグインを含む あなたの Vim 関連のファイルは "~/.vim/" にあるとする。 さらにZIP圧縮ファイル "/tmp/foopack.zip" からパッケージを追加したい場合は以下 -の通りである: +の通りである: > % mkdir -p ~/.vim/pack/foo % cd ~/.vim/pack/foo % unzip /tmp/foopack.zip @@ -648,7 +647,7 @@ Note "pack/foo/opt" 以下のファイルは自動的に読み込まれず、"pa 単一プラグインの使用とその自動読み込み ~ パッケージでなく単一のプラグインがある場合は、余分なディレクトリ階層を作成する -必要がある。 +必要がある: > % mkdir -p ~/.vim/pack/foo/start/foobar % cd ~/.vim/pack/foo/start/foobar % unzip /tmp/someplugin.zip @@ -953,13 +952,13 @@ MO_PLUGPACKAGE_PATH "lang/" ディレクトリの構造を含む変数。この 以下のコマンドを入力: > cd /d f:\forkvim\src\po - (以下のコマンドは 1 行で入力する必要があるが、ここでは例のため区切られている) - ロシア語: +< (以下のコマンドは 1 行で入力する必要があるが、ここでは例のため区切られている) + ロシア語: > nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" "PO_PLUGPACKAGE=e:\project\translate\plugins\ru.po" "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\ru\LC_MESSAGES" aap.mo - ドイツ語: +< ドイツ語: > nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" "PO_PLUGPACKAGE=e:\project\translate\plugins\de.po" "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\de\LC_MESSAGES" diff --git a/en/repeat.txt b/en/repeat.txt index 726aec369..73d6458d5 100644 --- a/en/repeat.txt +++ b/en/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 9.1. Last change: 2024 Aug 12 +*repeat.txt* For Vim version 9.1. Last change: 2024 Oct 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -105,9 +105,9 @@ where the cursor was before the global command). The global command sets both the last used search pattern and the last used substitute pattern (this is vi compatible). This makes it easy to globally -replace a string: +replace a string: > :g/pat/s//PAT/g -This replaces all occurrences of "pat" with "PAT". The same can be done with: +This replaces all occurrences of "pat" with "PAT". The same can be done with: > :%s/pat/PAT/g Which is two characters shorter! @@ -526,7 +526,7 @@ Example: the lines > \:%, \n:>, \fb:- -are interpreted as if they were given in one line: +are interpreted as if they were given in one line: > :set comments=sr:/*,mb:*,el:*/,://,b:#,:%,n:>,fb:- All leading whitespace characters in the line before a backslash are ignored. @@ -611,7 +611,7 @@ advantages over normal plugins: Using a package and loading automatically ~ Let's assume your Vim files are in the "~/.vim" directory and you want to add a -package from a zip archive "/tmp/foopack.zip": +package from a zip archive "/tmp/foopack.zip": > % mkdir -p ~/.vim/pack/foo % cd ~/.vim/pack/foo % unzip /tmp/foopack.zip @@ -661,7 +661,7 @@ If the package has an "after" directory, that directory is added to the end of Using a single plugin and loading it automatically ~ If you don't have a package but a single plugin, you need to create the extra -directory level: +directory level: > % mkdir -p ~/.vim/pack/foo/start/foobar % cd ~/.vim/pack/foo/start/foobar % unzip /tmp/someplugin.zip @@ -978,13 +978,13 @@ will put the MO files in the "lang/" directory of the Vim editor. Type the following commands: > cd /d f:\forkvim\src\po - (the following command must be entered in one line, here it is separated for example) - For Russian: +< (the following command must be entered in one line, here it is separated for example) + For Russian: > nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" "PO_PLUGPACKAGE=e:\project\translate\plugins\ru.po" "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\ru\LC_MESSAGES" aap.mo - For German: +< For German: > nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" "PO_PLUGPACKAGE=e:\project\translate\plugins\de.po" "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\de\LC_MESSAGES"