diff --git a/doc/insert.jax b/doc/insert.jax index 8c5185226..89770336f 100644 --- a/doc/insert.jax +++ b/doc/insert.jax @@ -1,4 +1,4 @@ -*insert.txt* For Vim バージョン 9.1. Last change: 2024 Oct 08 +*insert.txt* For Vim バージョン 9.1. Last change: 2024 Dec 31 VIMリファレンスマニュアル by Bram Moolenaar @@ -1129,6 +1129,7 @@ Note 最初の呼び出し以降にカーソルが移動した可能性があり |hl-PmenuKind| ハイライトグループが上書きされ、補完の 種類の ctermfg および guifg プロパティをカスタマイズで きるようになる。 + match |complete_info()| の "matches" を参照。 これらのうち "icase", "equal", "dup" および "empty" 以外は文字列でなければなら ない。これらの要件が満たされない場合はエラーメッセージが表示され、リスト中のそ @@ -1996,9 +1997,9 @@ NOTE: ":append" と ":insert" は、":if" と ":endif"、":for" と ":endfor"、 指定したラインの直後から行われる。一番最初のラインより上(ファイルの先頭)に挿入 するには ":0r {name}" というコマンドを使う。 -":read" コマンドの後には、新しいラインの左で、最初の空白でない文字にカーソルが -移動する。もしExモードでなければ、カーソルは新しい行の最後の左側に移動する(残 -念だがViとの互換性のため)。 +":read" コマンドの後、カーソルは最初の新しい行の最初の非空白文字に残される。Ex +モードの場合、カーソルは最後の新しい行に残される (申し訳ないが、これは Vi 互換 +である)。 ":r" にファイル名が与えられた場合、それが代替バッファのファイルになる。これは 例えば代わりにそのファイルを編集したい時に使うことができる: ":e! #"。 diff --git a/en/insert.txt b/en/insert.txt index 839d17a64..a5d245f50 100644 --- a/en/insert.txt +++ b/en/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 9.1. Last change: 2024 Oct 08 +*insert.txt* For Vim version 9.1. Last change: 2024 Dec 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1195,6 +1195,7 @@ items: |hl-PmenuKind| highlight group, allowing for the customization of ctermfg and guifg properties for the completion kind + match See "matches" in |complete_info()|. All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and @@ -2090,7 +2091,7 @@ the cursor is, or below the specified line. To insert text above the first line use the command ":0r {name}". After the ":read" command, the cursor is left on the first non-blank in the -first new line. Unless in Ex mode, then the cursor is left on the last new +first new line. If in Ex mode, then the cursor is left on the last new line (sorry, this is Vi compatible). If a file name is given with ":r", it becomes the alternate file. This can be