diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-06-21 06:29:13 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2024-06-21 14:10:30 +0800 |
| commit | 86ea42ce265a5a9df2843b04e8036268593825b9 (patch) | |
| tree | aeb0c21e36ed60535ecd5fe094d3d43016cf9786 /runtime | |
| parent | 26c2a56d99f9435d6a32e42c9508cafc37ab7d72 (diff) | |
| download | rneovim-86ea42ce265a5a9df2843b04e8036268593825b9.tar.gz rneovim-86ea42ce265a5a9df2843b04e8036268593825b9.tar.bz2 rneovim-86ea42ce265a5a9df2843b04e8036268593825b9.zip | |
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: vim/vim#15040
https://github.com/vim/vim/commit/d09521476f41dd8dbddb25b7acd0b299f9bf94d3
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/doc/autocmd.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index ca816851dd..d0768c6f8c 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -522,6 +522,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. |