Skip to content

Commit ff734fc

Browse files
committed
Update#2
1 parent 6206452 commit ff734fc

File tree

2 files changed

+20
-47
lines changed

2 files changed

+20
-47
lines changed

doc/various.jax

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim バージョン 8.1. Last change: 2019 Jan 23
1+
*various.txt* For Vim バージョン 8.1. Last change: 2019 May 05
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -73,16 +73,13 @@ ga カーソル位置の文字の文字コードを、10/16/8 進数で表示
7373
これは、ö を入力するために CTRL-K o : とタイプすればよ
7474
いことを意味しています。
7575

76-
{Vi にはない}
77-
7876
*g8*
7977
g8 カーソル位置の文字のバイト列を 16 進数で表示します。エ
8078
ンコーディングが |UTF-8| の場合のみ正しく機能します。
8179
合成文字も表示されます。'maxcombine' の設定は影響しま
8280
せん。
8381
2 文字の合成文字が結合されている文字の表示例:
8482
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
85-
{Vi にはない}
8683

8784
*8g8*
8885
8g8 カーソル以降の不正な UTF-8 バイト列を検索します。
@@ -97,7 +94,6 @@ g8 カーソル位置の文字のバイト列を 16 進数で表示します
9794
を継続しません。
9895
Note: カーソルがすでに不正なバイト列の上にある場合は、
9996
カーソルは移動しません。
100-
{Vi にはない}
10197

10298
*:p* *:pr* *:print* *E749*
10399
:[range]p[rint] [flags]
@@ -173,8 +169,6 @@ g8 カーソル位置の文字のバイト列を 16 進数で表示します
173169

174170
:{range}z#[+-^.=]{count} *:z#*
175171
":z" と同じですが、行番号も表示します。
176-
{Vi クローンによってはこの機能が使えないことがありま
177-
す。引数が違う場合もあります}
178172

179173
*:=*
180174
:= [flags] 最終行の行番号を表示します。
@@ -228,14 +222,12 @@ g8 カーソル位置の文字のバイト列を 16 進数で表示します
228222

229223
例: >
230224
:exe "normal \<c-w>\<c-w>"
231-
< {Vi には、もちろんない}
232225
233226
:{range}norm[al][!] {commands} *:normal-range*
234227
{range} の各行に対してノーマルモードコマンド{commands}
235228
を実行します。{commands} はカーソルが行頭にある状態で
236229
実行されます。その他は範囲指定の無い ":normal" コマン
237230
ドと同じです。
238-
{Vi にはない}
239231

240232
*:sh* *:shell* *E371*
241233
:sh[ell] シェルを起動します。シェルを終了 ("exit"コマンドを実行)
@@ -490,7 +482,7 @@ N *+X11* Unix のみ: ウィンドウタイトルを復帰可能 |X11|
490482
:ve[rsion] {nr} 現在は無視されます。これはかつて .vimrc の中でバージョ
491483
ン番号をチェックするために使われていました。現在は
492484
":if" コマンドを使ってバージョン依存の振る舞いを記述で
493-
きるので、削除されています。{Vi にはない}
485+
きるので、削除されています。
494486

495487
*:redi* *:redir*
496488
:redi[r][!] > {file} コマンドの出力 (メッセージ) を {file} にリダイレクトし
@@ -512,31 +504,26 @@ N *+X11* Unix のみ: ウィンドウタイトルを復帰可能 |X11|
512504
このコマンドの代わりに、オプション 'verbosefile' を使
513505
うこともできます。":redir" と同時に使うこともできま
514506
す。
515-
{Vi にはない}
516507

517508
:redi[r] >> {file} メッセージを {file} にリダイレクトします。
518-
{file} が既に存在する場合は追記します。 {Vi にはない}
509+
{file} が既に存在する場合は追記します。
519510

520511
:redi[r] @{a-zA-Z}
521512
:redi[r] @{a-zA-Z}> メッセージをレジスタ {a-z} にリダイレクトします。レジ
522513
スタ名が大文字 {A-Z} の場合は、そのレジスタに追記され
523514
ます。レジスタ名の後ろの ">" は省略可能です。
524-
{Vi にはない}
525-
:redi[r] @{a-z}>> メッセージをレジスタ {a-z} に追記します。{Vi にはない}
515+
:redi[r] @{a-z}>> メッセージをレジスタ {a-z} に追記します。
526516

527517
:redi[r] @*>
528518
:redi[r] @+> メッセージをセレクションまたはクリップボードにリダイレ
529519
クトします。互換性のため、レジスタ名の後ろの ">" は省
530520
略できます。|quotestar||quoteplus| を参照。
531-
{Vi にはない}
532521
:redi[r] @*>>
533522
:redi[r] @+>> メッセージをクリップボードに追記します。
534-
{Vi にはない}
535523

536524
:redi[r] @"> メッセージを無名レジスタにリダイレクトします。互換性の
537525
ため、レジスタ名の後ろの ">" は省略できます。
538-
{Vi にはない}
539-
:redi[r] @">> メッセージを無名レジスタに追記します。{Vi にはない}
526+
:redi[r] @">> メッセージを無名レジスタに追記します。
540527

541528
:redi[r] => {var} メッセージを変数にリダイレクトします。変数が存在しない
542529
場合は、作成されます。変数がすでにある場合は、空文字列
@@ -545,14 +532,13 @@ N *+X11* Unix のみ: ウィンドウタイトルを復帰可能 |X11|
545532
文字列変数のみ使えます。リダイレクトを開始した後で変数
546533
を変更したり、ロックしたり、変数タイプを変更したりする
547534
と、それ以降のコマンドがメッセージを出力するときにエラー
548-
が起こります。{Vi にはない}
535+
が起こります。
549536
コマンド1つの出力を取得するのには |execute()| 関数を使
550537
うことができます。
551538

552539
:redi[r] =>> {var} メッセージを変数に追記します。文字列変数のみ使えます。
553-
{Vi にはない}
554540

555-
:redi[r] END メッセージのリダイレクトを終了します。 {Vi にはない}
541+
:redi[r] END メッセージのリダイレクトを終了します。
556542

557543
*:filt* *:filter*
558544
:filt[er][!] {pat} {command}
@@ -693,12 +679,11 @@ K カーソル位置のキーワードを調べるためのプログラムを
693679
< - 'keywordprg' が "man -s" の場合は、"K" の前に入力さ
694680
れたカウントは "-s" の後に挿入されます。カウントを省
695681
略した場合は、"-s" は除去されます。
696-
{Vi にはない}
697682

698683
*v_K*
699684
{Visual}K "K" と同じですが、キーワードにはビジュアル選択されたテ
700685
キストが使用されます。複数行を選択したときは機能しませ
701-
ん。{Vi にはない}
686+
ん。
702687

703688
[N]gs *gs* *:sl* *:sleep*
704689
:[N]sl[eep] [N] [m] [N] 秒間何もしません。[m] を付けると、[N] ミリ秒間ス
@@ -712,7 +697,6 @@ K カーソル位置のキーワードを調べるためのプログラムを
712697
"gs" は "goto sleep" の略です。
713698
カーソルが表示可能な位置にある場合は、スリープしている
714699
間、カーソルはテキスト中に表示されます。
715-
{Vi にはない}
716700
スリープ中に受信した netbeans メッセージは処理されま
717701
す。{|+netbeans_intg| 機能つきでコンパイルされたときの
718702
み利用可能}

en/various.txt

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim version 8.1. Last change: 2019 Mar 23
1+
*various.txt* For Vim version 8.1. Last change: 2019 May 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -73,16 +73,13 @@ ga Print the ascii value of the character under the
7373
<ö> 246, Hex 00f6, Oct 366, Digr o: ~
7474
This shows you can type CTRL-K o : to insert ö.
7575

76-
{not in Vi}
77-
7876
*g8*
7977
g8 Print the hex values of the bytes used in the
8078
character under the cursor, assuming it is in |UTF-8|
8179
encoding. This also shows composing characters. The
8280
value of 'maxcombine' doesn't matter.
8381
Example of a character with two composing characters:
8482
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
85-
{not in Vi}
8683

8784
*8g8*
8885
8g8 Find an illegal UTF-8 byte sequence at or after the
@@ -97,7 +94,6 @@ g8 Print the hex values of the bytes used in the
9794
Note that when the cursor is on an illegal byte or the
9895
cursor is halfway a multi-byte character the command
9996
won't move the cursor.
100-
{not in Vi}
10197

10298
*:p* *:pr* *:print* *E749*
10399
:[range]p[rint] [flags]
@@ -174,7 +170,6 @@ g8 Print the hex values of the bytes used in the
174170

175171
:{range}z#[+-^.=]{count} *:z#*
176172
Like ":z", but number the lines.
177-
{not in all versions of Vi, not with these arguments}
178173

179174
*:=*
180175
:= [flags] Print the last line number.
@@ -224,15 +219,13 @@ g8 Print the hex values of the bytes used in the
224219

225220
Example: >
226221
:exe "normal \<c-w>\<c-w>"
227-
< {not in Vi, of course}
228222
229223
:{range}norm[al][!] {commands} *:normal-range*
230224
Execute Normal mode commands {commands} for each line
231225
in the {range}. Before executing the {commands}, the
232226
cursor is positioned in the first column of the range,
233227
for each line. Otherwise it's the same as the
234228
":normal" command without a range.
235-
{not in Vi}
236229

237230
*:sh* *:shell* *E371*
238231
:sh[ell] This command starts a shell. When the shell exits
@@ -490,7 +483,7 @@ N *+X11* Unix only: can restore window title |X11|
490483
:ve[rsion] {nr} Is now ignored. This was previously used to check the
491484
version number of a .vimrc file. It was removed,
492485
because you can now use the ":if" command for
493-
version-dependent behavior. {not in Vi}
486+
version-dependent behavior.
494487

495488
*:redi* *:redir*
496489
:redi[r][!] > {file} Redirect messages to file {file}. The messages which
@@ -510,31 +503,28 @@ N *+X11* Unix only: can restore window title |X11|
510503
with ":silent call Function()".
511504
An alternative is to use the 'verbosefile' option,
512505
this can be used in combination with ":redir".
513-
{not in Vi}
514506

515507
:redi[r] >> {file} Redirect messages to file {file}. Append if {file}
516-
already exists. {not in Vi}
508+
already exists.
517509

518510
:redi[r] @{a-zA-Z}
519511
:redi[r] @{a-zA-Z}> Redirect messages to register {a-z}. Append to the
520512
contents of the register if its name is given
521513
uppercase {A-Z}. The ">" after the register name is
522-
optional. {not in Vi}
523-
:redi[r] @{a-z}>> Append messages to register {a-z}. {not in Vi}
514+
optional.
515+
:redi[r] @{a-z}>> Append messages to register {a-z}.
524516

525517
:redi[r] @*>
526518
:redi[r] @+> Redirect messages to the selection or clipboard. For
527519
backward compatibility, the ">" after the register
528520
name can be omitted. See |quotestar| and |quoteplus|.
529-
{not in Vi}
530521
:redi[r] @*>>
531522
:redi[r] @+>> Append messages to the selection or clipboard.
532-
{not in Vi}
533523

534524
:redi[r] @"> Redirect messages to the unnamed register. For
535525
backward compatibility, the ">" after the register
536-
name can be omitted. {not in Vi}
537-
:redi[r] @">> Append messages to the unnamed register. {not in Vi}
526+
name can be omitted.
527+
:redi[r] @">> Append messages to the unnamed register.
538528

539529
:redi[r] => {var} Redirect messages to a variable. If the variable
540530
doesn't exist, then it is created. If the variable
@@ -543,14 +533,14 @@ N *+X11* Unix only: can restore window title |X11|
543533
Only string variables can be used. After the
544534
redirection starts, if the variable is removed or
545535
locked or the variable type is changed, then further
546-
command output messages will cause errors. {not in Vi}
536+
command output messages will cause errors.
547537
To get the output of one command the |execute()|
548538
function can be used.
549539

550540
:redi[r] =>> {var} Append messages to an existing variable. Only string
551-
variables can be used. {not in Vi}
541+
variables can be used.
552542

553-
:redi[r] END End redirecting messages. {not in Vi}
543+
:redi[r] END End redirecting messages.
554544

555545
*:filt* *:filter*
556546
:filt[er][!] {pat} {command}
@@ -692,12 +682,11 @@ K Run a program to lookup the keyword under the
692682
< - When 'keywordprg' is equal to "man -s", a count
693683
before "K" is inserted after the "-s". If there is
694684
no count, the "-s" is removed.
695-
{not in Vi}
696685

697686
*v_K*
698687
{Visual}K Like "K", but use the visually highlighted text for
699688
the keyword. Only works when the highlighted text is
700-
not more than one line. {not in Vi}
689+
not more than one line.
701690

702691
[N]gs *gs* *:sl* *:sleep*
703692
:[N]sl[eep] [N] [m] Do nothing for [N] seconds. When [m] is included,
@@ -710,7 +699,7 @@ K Run a program to lookup the keyword under the
710699
< Can be interrupted with CTRL-C (CTRL-Break on MS-DOS).
711700
"gs" stands for "goto sleep".
712701
While sleeping the cursor is positioned in the text,
713-
if at a visible position. {not in Vi}
702+
if at a visible position.
714703
Also process the received netbeans messages. {only
715704
available when compiled with the |+netbeans_intg|
716705
feature}

0 commit comments

Comments
 (0)