Skip to content

Commit 47fcf5c

Browse files
authored
Merge pull request #1103 from tsuyoshicho/update/20220612/misc1
Update {indent,index,insert,sponsor,starting,undo,various}.{txt,jax}
2 parents c7ca97f + 7fd80e2 commit 47fcf5c

File tree

14 files changed

+51
-35
lines changed

14 files changed

+51
-35
lines changed

doc/indent.jax

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim バージョン 8.2. Last change: 2022 Apr 07
1+
*indent.txt* For Vim バージョン 8.2. Last change: 2022 May 21
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -21,9 +21,6 @@ VimにはCスタイルの言語を自動的にインデントするためのオ
2121
プションはインデントだけに影響し、その他の整形は行わない。その他の整形について
2222
は、|format-comments|, |fo-table|, |gq|, |formatting| を参照。
2323

24-
コンパイル時に|+smartindent||+cindent|機能を無効にした時には、これが動作し
25-
ないことに注意。
26-
2724
実際のところインデントには4つの主な方法がある。後のものが有効にされると、前の
2825
ものより優先される('indentexpr' は空でない文字列がセットされたとき)。
2926
'autoindent' 一つ前の行に基づくインデント

doc/index.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim バージョン 8.2. Last change: 2022 Mar 05
1+
*index.txt* For Vim バージョン 8.2. Last change: 2022 Jun 11
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -287,7 +287,7 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
287287
|/| /{pattern}<CR> 1 {pattern} で前方検索し、N 番目に見つかった
288288
位置へ移動。
289289
|/<CR>| /<CR> 1 最後の検索の {pattern} で前方検索。
290-
|count| 0 1 カーソルを行頭文字へ移動。
290+
|0| 0 1 カーソルを行頭文字へ移動。
291291
|count| 1 カウントを指定するためにコマンドの前に入力
292292
|count| 2 "
293293
|count| 3 "

doc/insert.jax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ Note: CTRL-Xモードでの有効なキーはマップされない。これは "
644644
を終了させるキー(つまりCTRL-Xモードのコマンドとして有効ではないキー)はマップさ
645645
れる。'complete' を使って補完をするとき、マップは通常通りに適用される。
646646

647-
*E578* *E565*
647+
*E565*
648648
Note: 補完が動作中は、再帰的に挿入モードに入ることはできず、バッファのテキスト
649649
の変更もできない。":normal i.." を呼び出すようなマッピングを使うとエラー
650650
E565 が発生する。

doc/sponsor.jax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*sponsor.txt* For Vim バージョン 8.2. Last change: 2021 Jul 07
1+
*sponsor.txt* For Vim バージョン 8.2. Last change: 2022 May 26
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar

doc/starting.jax

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim バージョン 8.2. Last change: 2022 May 10
1+
*starting.txt* For Vim バージョン 8.2. Last change: 2022 Jun 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -342,8 +342,8 @@ VMSでは全てのオプション引数は小文字であるとみなされる
342342
<
343343
--log {filename} *--log*
344344
ログの出力を開始し、ファイル {filename} に書き込む。
345-
これは、起動時の非常に早い段階で `ch_logfile({filename}, 'a')`
346-
を呼び出すのと同様な動作である。
345+
これは、起動時の非常に早い段階で
346+
`ch_logfile({filename}, 'ao')` を呼び出すのと同様な動作である。
347347
{+channel が有効な場合のみ利用可能}
348348

349349
*-D*
@@ -428,6 +428,13 @@ VMSでは全てのオプション引数は小文字であるとみなされる
428428
"Reading from stdin..." のメッセージを避けることもできる。
429429
"N files to edit" のメッセージを避けることもできる。
430430

431+
--gui-dialog-file {name} *--gui-dialog-file*
432+
GUIの使用時、ダイアログを表示する代わりとして、ファイル {name}
433+
へダイアログのタイトルとメッセージを書き込む。このファイルは作
434+
成されるか追記される。テストにみ有用で、ダイアログを見ることが
435+
できないためにテストが中断されるのを防ぐ。GUI以外ではこの引数
436+
は無視される。
437+
431438
*--ttyfail*
432439
--ttyfail 標準入力か標準出力が端末(tty)でない場合、すぐに終了する。
433440

doc/undo.jax

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*undo.txt* For Vim バージョン 8.2. Last change: 2020 Nov 30
1+
*undo.txt* For Vim バージョン 8.2. Last change: 2022 Jun 02
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -105,12 +105,16 @@ undo されます。
105105
106106
この後で "u" コマンドを実行すると delete コマンドとその直前の変更が undo され
107107
ます。
108-
108+
*undo-break*
109109
反対の動作、つまり変更を二つの undo ブロックに分けるには、挿入モードでCTRL-G u
110110
を使います。挿入コマンドを部分ごと (例えば文単位) に undo できるようにしたい場
111111
合に便利です。 |i_CTRL-G_u|
112+
112113
'undolevels' の値を設定したときも undo は区切られます。新しい値と古い値が同じ
113-
でもそうなります。
114+
でもそうなります。|Vim9| script では: >
115+
&undolevels = &undolevels
116+
旧来のスクリプトでは: >
117+
let &undolevels = &undolevels
114118
115119
==============================================================================
116120
4. Undo ブランチ *undo-branches* *undo-tree*

doc/various.jax

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim バージョン 8.2. Last change: 2022 Apr 03
1+
*various.txt* For Vim バージョン 8.2. Last change: 2022 May 21
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -345,7 +345,7 @@ N *+builtin_terms* 幾つかの組み込み端末 |builtin-terms|
345345
B *++builtin_terms* 全部の組み込み端末 |builtin-terms|
346346
N *+byte_offset* 'statusline'の'o'フラグ、|go||:goto|をサポート
347347
m *+channel* プロセス間通信 |channel|
348-
N *+cindent* |'cindent'|, C言語インデント
348+
6 *+cindent* |'cindent'|, C言語インデント
349349
N *+clientserver* UnixとWin32: リモート呼び出し |clientserver|
350350
*+clipboard* |clipboard| サポートコンパイル済み
351351
*+clipboard_working* |clipboard| サポートコンパイル済みかつ動作中
@@ -397,7 +397,7 @@ N *+lambda* |lambda| と |closure|
397397
B *+langmap* |'langmap'|
398398
N *+libcall* |libcall()|
399399
N *+linebreak* |'linebreak'||'breakat'||'showbreak'|
400-
N *+lispindent* |'lisp'|
400+
t *+lispindent* |'lisp'|
401401
T *+listcmds* バッファリストや引数リストに対するVimコマンド
402402
|buffer-hidden| |:argdelete|
403403
T *+localmap* バッファローカルなマップのサポート |:map-local|
@@ -450,7 +450,7 @@ m *+ruby* Ruby インターフェイス |ruby|
450450
m *+ruby/dyn* Ruby インターフェイス |ruby-dynamic| |/dyn|
451451
T *+scrollbind* |'scrollbind'|
452452
B *+signs* |:sign|
453-
N *+smartindent* |'smartindent'|
453+
t *+smartindent* |'smartindent'|
454454
B *+sodium* より良い暗号化サポートのために libsodium とコンパイル
455455
されている
456456
B *+sound* |sound_playevent()|, |sound_playfile()| 関数等

en/indent.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim version 8.2. Last change: 2022 Apr 07
1+
*indent.txt* For Vim version 8.2. Last change: 2022 May 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -22,9 +22,6 @@ indent and do not perform other formatting. There are additional options that
2222
affect other kinds of formatting as well as indenting, see |format-comments|,
2323
|fo-table|, |gq| and |formatting| for the main ones.
2424

25-
Note that this will not work when the |+smartindent| or |+cindent| features
26-
have been disabled at compile time.
27-
2825
There are in fact four main methods available for indentation, each one
2926
overrides the previous if it is enabled, or non-empty for 'indentexpr':
3027
'autoindent' uses the indent from the previous line.

en/index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.2. Last change: 2022 Mar 05
1+
*index.txt* For Vim version 8.2. Last change: 2022 Jun 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -295,7 +295,7 @@ tag char note action in Normal mode ~
295295
|/| /{pattern}<CR> 1 search forward for the Nth occurrence of
296296
{pattern}
297297
|/<CR>| /<CR> 1 search forward for {pattern} of last search
298-
|count| 0 1 cursor to the first char of the line
298+
|0| 0 1 cursor to the first char of the line
299299
|count| 1 prepend to command to give a count
300300
|count| 2 "
301301
|count| 3 "

en/insert.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ Note: The keys that are valid in CTRL-X mode are not mapped. This allows for
671671
ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped.
672672
Also, when doing completion with 'complete' mappings apply as usual.
673673

674-
*E578* *E565*
674+
*E565*
675675
Note: While completion is active Insert mode can't be used recursively and
676676
buffer text cannot be changed. Mappings that somehow invoke ":normal i.."
677677
will generate an E565 error.

0 commit comments

Comments
 (0)