Skip to content

Commit d0e2b02

Browse files
authored
Merge pull request #1603 from vim-jp/hh-update-autocmd
Update autocmd.{txt,jax}
2 parents b56541f + 0f56cf3 commit d0e2b02

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

doc/autocmd.jax

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 May 05
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Jun 21
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -385,6 +385,7 @@ Vimは以下のイベントを認識する。イベント名が大文字か小
385385
|CursorHold| ユーザーが一定時間キーを押さなかったとき
386386
|CursorHoldI| 挿入モードでユーザーが一定時間キーを押さなかったとき
387387
|CursorMoved| ノーマルモードでカーソルが移動したとき
388+
|CursorMovedC| |Command-line| でカーソルが移動したとき
388389
|CursorMovedI| 挿入モードでカーソルが移動したとき
389390

390391
|WinNewPre| 新しいウィンドウを作成する前
@@ -749,6 +750,13 @@ CursorMoved ノーマルモードかビジュアルモードでカーソルが
749750
注意: このイベントは頻繁に発生するので、ユーザー
750751
が予期しないことや時間のかかる処理は行わないこ
751752
と。
753+
*CursorMovedC*
754+
CursorMovedC コマンドラインのテキストが変更されていない状態
755+
の時に、コマンドラインでカーソルを移動した後。
756+
コマンドラインをぐちゃぐちゃにすると Vim がロッ
757+
ク状態になる可能性があるので注意。
758+
<afile> には、コマンドラインの種類を示す単一の
759+
文字が設定される。|cmdwin-char|
752760
*CursorMovedI*
753761
CursorMovedI 挿入モードでカーソルが移動した後。ポップアップ
754762
メニューが表示されているときは発行されない。

en/autocmd.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2024 May 05
1+
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jun 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -379,6 +379,7 @@ Name triggered by ~
379379
|CursorHold| the user doesn't press a key for a while
380380
|CursorHoldI| the user doesn't press a key for a while in Insert mode
381381
|CursorMoved| the cursor was moved in Normal mode
382+
|CursorMovedC| the cursor was moved in the |Command-line|
382383
|CursorMovedI| the cursor was moved in Insert mode
383384

384385
|WinNewPre| before creating a new window
@@ -748,6 +749,14 @@ CursorMoved After the cursor was moved in Normal or Visual
748749
Careful: This is triggered very often, don't
749750
do anything that the user does not expect or
750751
that is slow.
752+
*CursorMovedC*
753+
CursorMovedC After the cursor was moved in the command
754+
line while the text in the command line hasn't
755+
changed. Be careful not to mess up the
756+
command line, it may cause Vim to lock up.
757+
<afile> is set to a single character,
758+
indicating the type of command-line.
759+
|cmdwin-char|
751760
*CursorMovedI*
752761
CursorMovedI After the cursor was moved in Insert mode.
753762
Not triggered when the popup menu is visible.

0 commit comments

Comments
 (0)