forked from aniani/vim
patch 9.1.0507: hard to detect cursor movement in the command line
Problem: hard to detect cursor movement in the command line
Solution: Add the CursorMovedC autocommand
(Shougo Matsushita)
closes: #15040
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
beb02ed674
commit
d09521476f
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2024 May 05
|
||||
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jun 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -379,6 +379,7 @@ Name triggered by ~
|
||||
|CursorHold| the user doesn't press a key for a while
|
||||
|CursorHoldI| the user doesn't press a key for a while in Insert mode
|
||||
|CursorMoved| the cursor was moved in Normal mode
|
||||
|CursorMovedC| the cursor was moved in the |Command-line|
|
||||
|CursorMovedI| the cursor was moved in Insert mode
|
||||
|
||||
|WinNewPre| before creating a new window
|
||||
@@ -748,6 +749,13 @@ CursorMoved After the cursor was moved in Normal or Visual
|
||||
Careful: This is triggered very often, don't
|
||||
do anything that the user does not expect or
|
||||
that is slow.
|
||||
*CursorMovedC*
|
||||
CursorMovedC After the cursor was moved in the command
|
||||
line. Be careful not to mess up the
|
||||
command line, it may cause Vim to lock up.
|
||||
<afile> is set to a single character,
|
||||
indicating the type of command-line.
|
||||
|cmdwin-char|
|
||||
*CursorMovedI*
|
||||
CursorMovedI After the cursor was moved in Insert mode.
|
||||
Not triggered when the popup menu is visible.
|
||||
|
||||
@@ -4063,6 +4063,7 @@ CursorHold-example windows.txt /*CursorHold-example*
|
||||
CursorHoldI autocmd.txt /*CursorHoldI*
|
||||
CursorIM mbyte.txt /*CursorIM*
|
||||
CursorMoved autocmd.txt /*CursorMoved*
|
||||
CursorMovedC autocmd.txt /*CursorMovedC*
|
||||
CursorMovedI autocmd.txt /*CursorMovedI*
|
||||
D change.txt /*D*
|
||||
DOS os_dos.txt /*DOS*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version9.txt* For Vim version 9.1. Last change: 2024 Jun 19
|
||||
*version9.txt* For Vim version 9.1. Last change: 2024 Jun 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -41591,6 +41591,7 @@ Functions: ~
|
||||
|
||||
Autocommands: ~
|
||||
|
||||
|CursorMovedC| after the cursor was moved in the comamnd-line
|
||||
|SessionWritePost| after writing the session file |:mksession|
|
||||
|TermResponseAll| after the terminal response to |t_RV| and others is
|
||||
received
|
||||
|
||||
Reference in New Issue
Block a user