Mercurial > vim
diff runtime/doc/autocmd.txt @ 13437:02b3f719eacb
Update runtime files.
commit https://github.com/vim/vim/commit/b5b7562475ad032a174b893286172de0d2c157cd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 9 22:22:21 2018 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Mar 2018 22:30:06 +0100 |
parents | 5ed6e4a25925 |
children | 94e638936d3e |
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.0. Last change: 2018 Feb 10 +*autocmd.txt* For Vim version 8.0. Last change: 2018 Mar 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -21,7 +21,6 @@ 10. Using autocommands |autocmd-use| 11. Disabling autocommands |autocmd-disable| {Vi does not have any of these commands} -{only when the |+autocmd| feature has not been disabled at compile time} ============================================================================== 1. Introduction *autocmd-intro* @@ -324,6 +323,10 @@ Name triggered by ~ |CmdwinEnter| after entering the command-line window |CmdwinLeave| before leaving the command-line window +|CmdlineChanged| after a change was made to the command-line text +|CmdlineEnter| after the cursor moves to the command line +|CmdlineLeave| before the cursor leaves the command line + |InsertEnter| starting Insert mode |InsertChange| when typing <Insert> while in Insert or Replace mode |InsertLeave| when leaving Insert mode @@ -506,9 +509,9 @@ CmdUndefined When a user command is us always define the user command and have it invoke an autoloaded function. See |autoload|. *CmdlineChanged* -CmdlineChanged After a change was made to the text inside - command line. Be careful not to mess up the - command line, it may cause Vim to lock up. +CmdlineChanged After a change was made to the text 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| @@ -785,7 +788,7 @@ InsertCharPre When a character is type inserted literally. It is not allowed to change the text |textlock|. The event is not triggered when 'paste' is - set. + set. {only with the +eval feature} *InsertEnter* InsertEnter Just before starting Insert mode. Also for Replace mode and Virtual Replace mode. The @@ -931,6 +934,7 @@ SwapExists Detected an existing swap f It is not allowed to change to another buffer, change a buffer name or change directory here. + {only available with the +eval feature} *Syntax* Syntax When the 'syntax' option has been set. The pattern is matched against the syntax name. @@ -1003,6 +1007,7 @@ TextYankPost After text has been yanke called recursively. It is not allowed to change the buffer text, see |textlock|. + {only when compiled with the +eval feature} *User* User Never executed automatically. To be used for autocommands that are only executed with