Skip to content

Update insert.{txt,jax} #2208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions doc/insert.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 25
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -38,10 +38,10 @@

テキストを入力する際に特別な言語のモードを使用している場合、いつもこのモードが
ON/OFFと切り替えられてしまうのをどう避けるかを知るには 'langmap' オプション
(|'langmap'|) を参照すること。
('langmap') を参照すること。

'insertmode' を設定した場合には、<Esc>と他の幾つかのキーに別の意味が与えられ
る。|'insertmode'| を参照。
る。'insertmode' を参照。

文字 アクション ~
-----------------------------------------------------------------------
Expand Down Expand Up @@ -274,15 +274,16 @@ CTRL-] 文字を入れることなく、短縮入力をトリガーする。

項目 アクション ~
indent 字下げをバックスペースで消去可能
eol 行末をバックスペースで消去可能(行を連結)
start 挿入の開始点を超えてバックスペースで消去可能; CTRL-WとCTRL-Uは一度
スタート地点で停止する。
eol 改行をバックスペースで消去可能(行を連結)
start 挿入の開始位置を越えてのバックスペースを許可する。CTRL-W と CTRL-U
は挿入の開始位置で一度停止する。
nostop start に似ているが、CTRL-W と CTRL-U は挿入の開始位置で止まらない。

'backspace' が空の時、Vi互換のバックスペースが使用される。自動字下げや、第1カ
ラムの前、そして挿入の開始点を超えてのバックスペースはできない。

下位互換性のために、値として "0"、"1"、"2" そして "3" を使用することもできる。
|'backspace'| 参照。
'backspace' 参照。

'backspace' オプションが "eol" を含まれている時に、カーソルが第1カラムにあり、
3つのキーのうちどれかが押されると、現在の行が1行前の行に連結される。これはカー
Expand Down Expand Up @@ -595,9 +596,9 @@ CTRL-TとCTRL-Dを使用したときには面白い効果がある。カーソ
'list' モードでないかのように振舞う。

Note: カーソルより後ろの文字が移動して見えることがあるが、それは List モード
|'list'| がオンのとき、そしてまれに 'wrap' がオンのとき (そして変更によって行
の長さがスクリーンの幅より短くなるか長くなるとき) だけである。それ以外では、
ろの文字が動かないようにスペースが挿入される
'list' がオンのとき、そしてまれに 'wrap' がオンのとき (そして変更によって行の
長さがスクリーンの幅より短くなるか長くなるとき) だけである。それ以外では、後ろ
の文字が動かないようにスペースが挿入される

このモードは<Tab>でカラムが区切られた表へ、新しいデータをカラムを揃えて入力す
るような編集作業に便利である。
Expand Down Expand Up @@ -1077,13 +1078,13 @@ CTRL-X CTRL-Z テキストを変更せずに補完を停止する。
☆自動補完 *ins-autocompletion*

Vim は、|i_CTRL-N| を使うのと同様に、入力中に自動的に補完メニューを表示できる。
|'autocomplete'| を参照。メニュー項目は、|'complete'| オプションに指定された
ソースから収集される
'autocomplete' を参照。メニュー項目は、'complete' オプションに指定されたソース
から収集される

手動の |i_CTRL-N| 補完とは異なり、このモードでは Vim の応答性を維持するために
徐々に減少するタイムアウトを使用する。|'complete'| リストの上位にあるソースに
は、より多くの時間 (より高い優先度) が与えられるが、すべてのソースには、どんな
に短い時間であっても、一定のタイムスライスが保証される。
徐々に減少するタイムアウトを使用する。'complete' リストの上位にあるソースには、
より多くの時間 (より高い優先度) が与えられるが、すべてのソースには、どんなに短
い時間であっても、一定のタイムスライスが保証される。

このモードは他の補完モードと完全に互換性がある。|CTRL-X| を入力することで、い
つでも他の補完モードを呼び出すことができる。これにより、自動補完が一時的に停止
Expand Down
24 changes: 13 additions & 11 deletions en/insert.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 25
*insert.txt* For Vim version 9.1. Last change: 2025 Aug 06


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -38,11 +38,11 @@ use "CTRL-V 003" to insert a CTRL-C. Note: When CTRL-V is mapped you can
often use CTRL-Q instead |i_CTRL-Q|.

If you are working in a special language mode when inserting text, see the
'langmap' option, |'langmap'|, on how to avoid switching this mode on and off
'langmap' option, 'langmap', on how to avoid switching this mode on and off
all the time.

If you have 'insertmode' set, <Esc> and a few other keys get another meaning.
See |'insertmode'|.
See 'insertmode'.

char action ~
-----------------------------------------------------------------------
Expand Down Expand Up @@ -284,15 +284,17 @@ The effect of the <BS>, CTRL-W, and CTRL-U depend on the 'backspace' option

item action ~
indent allow backspacing over autoindent
eol allow backspacing over end-of-line (join lines)
start allow backspacing over the start position of insert; CTRL-W and
CTRL-U stop once at the start position
eol allow backspacing over line breaks (join lines)
start allow backspacing over the start of insert; CTRL-W and CTRL-U stop
once at the start of insert.
nostop like start, except CTRL-W and CTRL-U do not stop at the start of
insert.

When 'backspace' is empty, Vi compatible backspacing is used. You cannot
backspace over autoindent, before column 1 or before where insert started.

For backwards compatibility the values "0", "1", "2" and "3" are also allowed,
see |'backspace'|.
see 'backspace'.

If the 'backspace' option does contain "eol" and the cursor is in column 1
when one of the three keys is used, the current line is joined with the
Expand Down Expand Up @@ -619,7 +621,7 @@ In 'list' mode, Virtual Replace mode acts as if it was not in 'list' mode,
unless "L" is in 'cpoptions'.

Note that the only situations for which characters beyond the cursor should
appear to move are in List mode |'list'|, and occasionally when 'wrap' is set
appear to move are in List mode 'list', and occasionally when 'wrap' is set
(and the line changes length to become shorter or wider than the width of the
screen). In other cases spaces may be inserted to avoid following characters
to move.
Expand Down Expand Up @@ -1136,11 +1138,11 @@ CTRL-X CTRL-Z Stop completion without changing the text.
AUTOCOMPLETION *ins-autocompletion*

Vim can display a completion menu as you type, similar to using |i_CTRL-N|,
but triggered automatically. See |'autocomplete'|. The menu items are
collected from the sources listed in the |'complete'| option.
but triggered automatically. See 'autocomplete'. The menu items are collected
from the sources listed in the 'complete' option.

Unlike manual |i_CTRL-N| completion, this mode uses a decaying timeout to keep
Vim responsive. Sources earlier in the |'complete'| list are given more time
Vim responsive. Sources earlier in the 'complete' list are given more time
(higher priority), but every source is guaranteed a time slice, however small.

This mode is fully compatible with other completion modes. You can invoke
Expand Down