File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
- *autocmd.txt* For Vim バージョン 9.1. Last change: 2024 May 05
1
+ *autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Jun 21
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -385,6 +385,7 @@ Vimは以下のイベントを認識する。イベント名が大文字か小
385
385
| CursorHold | ユーザーが一定時間キーを押さなかったとき
386
386
| CursorHoldI | 挿入モードでユーザーが一定時間キーを押さなかったとき
387
387
| CursorMoved | ノーマルモードでカーソルが移動したとき
388
+ | CursorMovedC | | Command-line | でカーソルが移動したとき
388
389
| CursorMovedI | 挿入モードでカーソルが移動したとき
389
390
390
391
| WinNewPre | 新しいウィンドウを作成する前
@@ -749,6 +750,13 @@ CursorMoved ノーマルモードかビジュアルモードでカーソルが
749
750
注意: このイベントは頻繁に発生するので、ユーザー
750
751
が予期しないことや時間のかかる処理は行わないこ
751
752
と。
753
+ *CursorMovedC*
754
+ CursorMovedC コマンドラインのテキストが変更されていない状態
755
+ の時に、コマンドラインでカーソルを移動した後。
756
+ コマンドラインをぐちゃぐちゃにすると Vim がロッ
757
+ ク状態になる可能性があるので注意。
758
+ <afile> には、コマンドラインの種類を示す単一の
759
+ 文字が設定される。| cmdwin-char |
752
760
*CursorMovedI*
753
761
CursorMovedI 挿入モードでカーソルが移動した後。ポップアップ
754
762
メニューが表示されているときは発行されない。
Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -379,6 +379,7 @@ Name triggered by ~
379
379
| CursorHold | the user doesn't press a key for a while
380
380
| CursorHoldI | the user doesn't press a key for a while in Insert mode
381
381
| CursorMoved | the cursor was moved in Normal mode
382
+ | CursorMovedC | the cursor was moved in the | Command-line |
382
383
| CursorMovedI | the cursor was moved in Insert mode
383
384
384
385
| WinNewPre | before creating a new window
@@ -748,6 +749,14 @@ CursorMoved After the cursor was moved in Normal or Visual
748
749
Careful: This is triggered very often, don't
749
750
do anything that the user does not expect or
750
751
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 |
751
760
*CursorMovedI*
752
761
CursorMovedI After the cursor was moved in Insert mode.
753
762
Not triggered when the popup menu is visible.
You can’t perform that action at this time.
0 commit comments