Mercurial > vim
comparison runtime/doc/autocmd.txt @ 13240:5ed6e4a25925 v8.0.1494
patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menu
commit https://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 10 18:15:19 2018 +0100
patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menu
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes #2372, closes #1691)
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 10 Feb 2018 18:30:06 +0100 |
parents | 167a030448fa |
children | 02b3f719eacb |
comparison
equal
deleted
inserted
replaced
13239:cb07abe792ae | 13240:5ed6e4a25925 |
---|---|
1 *autocmd.txt* For Vim version 8.0. Last change: 2018 Feb 09 | 1 *autocmd.txt* For Vim version 8.0. Last change: 2018 Feb 10 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
330 |InsertCharPre| when a character was typed in Insert mode, before | 330 |InsertCharPre| when a character was typed in Insert mode, before |
331 inserting it | 331 inserting it |
332 | 332 |
333 |TextChanged| after a change was made to the text in Normal mode | 333 |TextChanged| after a change was made to the text in Normal mode |
334 |TextChangedI| after a change was made to the text in Insert mode | 334 |TextChangedI| after a change was made to the text in Insert mode |
335 when popup menu is not visible | |
336 |TextChangedP| after a change was made to the text in Insert mode | |
337 when popup menu visible | |
335 |TextYankPost| after text is yanked or deleted | 338 |TextYankPost| after text is yanked or deleted |
336 | 339 |
337 |ColorScheme| after loading a color scheme | 340 |ColorScheme| after loading a color scheme |
338 | 341 |
339 |RemoteReply| a reply from a server Vim was received | 342 |RemoteReply| a reply from a server Vim was received |
974 *TextChangedI* | 977 *TextChangedI* |
975 TextChangedI After a change was made to the text in the | 978 TextChangedI After a change was made to the text in the |
976 current buffer in Insert mode. | 979 current buffer in Insert mode. |
977 Not triggered when the popup menu is visible. | 980 Not triggered when the popup menu is visible. |
978 Otherwise the same as TextChanged. | 981 Otherwise the same as TextChanged. |
982 *TextChangedP* | |
983 TextChangedP After a change was made to the text in the | |
984 current buffer in Insert mode, only when the | |
985 popup menu is visible. Otherwise the same as | |
986 TextChanged. | |
979 *TextYankPost* | 987 *TextYankPost* |
980 TextYankPost After text has been yanked or deleted in the | 988 TextYankPost After text has been yanked or deleted in the |
981 current buffer. The following values of | 989 current buffer. The following values of |
982 |v:event| can be used to determine the operation | 990 |v:event| can be used to determine the operation |
983 that triggered this autocmd: | 991 that triggered this autocmd: |