Skip to content

Commit 7ad03c8

Browse files
authored
Merge pull request #1723 from vim-jp/hh-update-repeat
Update repeat.{txt,jax}
2 parents 1d7ff7f + 6dc9062 commit 7ad03c8

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

doc/repeat.jax

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim バージョン 9.1. Last change: 2024 Aug 12
1+
*repeat.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -101,9 +101,9 @@ undo/redoコマンドはglobalコマンドを一気にundo/redoする。以前
101101

102102
globalコマンドは最後に使用した検索パターンと、最後に使用した置換パターンの両方
103103
を設定する (これはvi互換)。これにより全体に対して文字列置換を行うのが簡単にな
104-
る:
104+
る: >
105105
:g/pat/s//PAT/g
106-
これは全ての "pat" を "PAT" に置き換える。同じことがこれでも可能:
106+
これは全ての "pat" を "PAT" に置き換える。同じことがこれでも可能: >
107107
:%s/pat/PAT/g
108108
こっちのほうが2文字短い!
109109

@@ -512,7 +512,6 @@ Windowsで作られたファイル)を使っているならば、全ての行が
512512
\:%,
513513
\n:>,
514514
\fb:-
515-
516515
次の1行と同じ意味として解釈される: >
517516
:set comments=sr:/*,mb:*,el:*/,://,b:#,:%,n:>,fb:-
518517
@@ -598,7 +597,7 @@ Vim script のパッケージは1つかそれ以上のプラグインを含む
598597

599598
あなたの Vim 関連のファイルは "~/.vim/" にあるとする。
600599
さらにZIP圧縮ファイル "/tmp/foopack.zip" からパッケージを追加したい場合は以下
601-
の通りである:
600+
の通りである: >
602601
% mkdir -p ~/.vim/pack/foo
603602
% cd ~/.vim/pack/foo
604603
% unzip /tmp/foopack.zip
@@ -648,7 +647,7 @@ Note "pack/foo/opt" 以下のファイルは自動的に読み込まれず、"pa
648647
単一プラグインの使用とその自動読み込み ~
649648

650649
パッケージでなく単一のプラグインがある場合は、余分なディレクトリ階層を作成する
651-
必要がある
650+
必要がある: >
652651
% mkdir -p ~/.vim/pack/foo/start/foobar
653652
% cd ~/.vim/pack/foo/start/foobar
654653
% unzip /tmp/someplugin.zip
@@ -953,13 +952,13 @@ MO_PLUGPACKAGE_PATH "lang/" ディレクトリの構造を含む変数。この
953952
以下のコマンドを入力:
954953
>
955954
cd /d f:\forkvim\src\po
956-
(以下のコマンドは 1 行で入力する必要があるが、ここでは例のため区切られている)
957-
ロシア語:
955+
< (以下のコマンドは 1 行で入力する必要があるが、ここでは例のため区切られている)
956+
ロシア語: >
958957
nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap"
959958
"PO_PLUGPACKAGE=e:\project\translate\plugins\ru.po"
960959
"MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\ru\LC_MESSAGES"
961960
aap.mo
962-
ドイツ語:
961+
< ドイツ語: >
963962
nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap"
964963
"PO_PLUGPACKAGE=e:\project\translate\plugins\de.po"
965964
"MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\de\LC_MESSAGES"

en/repeat.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim version 9.1. Last change: 2024 Aug 12
1+
*repeat.txt* For Vim version 9.1. Last change: 2024 Oct 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -105,9 +105,9 @@ where the cursor was before the global command).
105105

106106
The global command sets both the last used search pattern and the last used
107107
substitute pattern (this is vi compatible). This makes it easy to globally
108-
replace a string:
108+
replace a string: >
109109
:g/pat/s//PAT/g
110-
This replaces all occurrences of "pat" with "PAT". The same can be done with:
110+
This replaces all occurrences of "pat" with "PAT". The same can be done with: >
111111
:%s/pat/PAT/g
112112
Which is two characters shorter!
113113

@@ -526,7 +526,7 @@ Example: the lines >
526526
\:%,
527527
\n:>,
528528
\fb:-
529-
are interpreted as if they were given in one line:
529+
are interpreted as if they were given in one line: >
530530
:set comments=sr:/*,mb:*,el:*/,://,b:#,:%,n:>,fb:-
531531
532532
All leading whitespace characters in the line before a backslash are ignored.
@@ -611,7 +611,7 @@ advantages over normal plugins:
611611
Using a package and loading automatically ~
612612

613613
Let's assume your Vim files are in the "~/.vim" directory and you want to add a
614-
package from a zip archive "/tmp/foopack.zip":
614+
package from a zip archive "/tmp/foopack.zip": >
615615
% mkdir -p ~/.vim/pack/foo
616616
% cd ~/.vim/pack/foo
617617
% unzip /tmp/foopack.zip
@@ -661,7 +661,7 @@ If the package has an "after" directory, that directory is added to the end of
661661
Using a single plugin and loading it automatically ~
662662

663663
If you don't have a package but a single plugin, you need to create the extra
664-
directory level:
664+
directory level: >
665665
% mkdir -p ~/.vim/pack/foo/start/foobar
666666
% cd ~/.vim/pack/foo/start/foobar
667667
% unzip /tmp/someplugin.zip
@@ -978,13 +978,13 @@ will put the MO files in the "lang/" directory of the Vim editor.
978978
Type the following commands:
979979
>
980980
cd /d f:\forkvim\src\po
981-
(the following command must be entered in one line, here it is separated for example)
982-
For Russian:
981+
< (the following command must be entered in one line, here it is separated for example)
982+
For Russian: >
983983
nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap"
984984
"PO_PLUGPACKAGE=e:\project\translate\plugins\ru.po"
985985
"MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\ru\LC_MESSAGES"
986986
aap.mo
987-
For German:
987+
< For German: >
988988
nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap"
989989
"PO_PLUGPACKAGE=e:\project\translate\plugins\de.po"
990990
"MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\de\LC_MESSAGES"

0 commit comments

Comments
 (0)