Mercurial > vim
comparison runtime/doc/autocmd.txt @ 4264:2d1383658bb4
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 05 Apr 2013 22:26:15 +0200 |
parents | fa4089df54bc |
children | ba53304245f0 |
comparison
equal
deleted
inserted
replaced
4263:b4a7b51fcf59 | 4264:2d1383658bb4 |
---|---|
1 *autocmd.txt* For Vim version 7.3. Last change: 2013 Mar 13 | 1 *autocmd.txt* For Vim version 7.3. Last change: 2013 Mar 19 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
517 Also when the text of the cursor line has been | 517 Also when the text of the cursor line has been |
518 changed, e.g., with "x", "rx" or "p". | 518 changed, e.g., with "x", "rx" or "p". |
519 Not triggered when there is typeahead or when | 519 Not triggered when there is typeahead or when |
520 an operator is pending. | 520 an operator is pending. |
521 For an example see |match-parens|. | 521 For an example see |match-parens|. |
522 Careful: Don't do anything that the user does | 522 Careful: This is triggered very often, don't |
523 not expect or that is slow. | 523 do anything that the user does not expect or |
524 that is slow. | |
524 *CursorMovedI* | 525 *CursorMovedI* |
525 CursorMovedI After the cursor was moved in Insert mode. | 526 CursorMovedI After the cursor was moved in Insert mode. |
526 Not triggered when the popup menu is visible. | 527 Not triggered when the popup menu is visible. |
527 Otherwise the same as CursorMoved. | 528 Otherwise the same as CursorMoved. |
528 *EncodingChanged* | 529 *EncodingChanged* |
829 can be used to do things depending on the | 830 can be used to do things depending on the |
830 terminal version. Note that this event may be | 831 terminal version. Note that this event may be |
831 triggered halfway executing another event, | 832 triggered halfway executing another event, |
832 especially if file I/O, a shell command or | 833 especially if file I/O, a shell command or |
833 anything else that takes time is involved. | 834 anything else that takes time is involved. |
835 *TextChanged* | |
836 TextChanged After a change was made to the text in the | |
837 current buffer in Normal mode. That is when | |
838 |b:changedtick| has changed. | |
839 Not triggered when there is typeahead or when | |
840 an operator is pending. | |
841 Careful: This is triggered very often, don't | |
842 do anything that the user does not expect or | |
843 that is slow. | |
844 *TextChangedI* | |
845 TextChangedI After a change was made to the text in the | |
846 current buffer in Insert mode. | |
847 Not triggered when the popup menu is visible. | |
848 Otherwise the same as TextChanged. | |
834 *User* | 849 *User* |
835 User Never executed automatically. To be used for | 850 User Never executed automatically. To be used for |
836 autocommands that are only executed with | 851 autocommands that are only executed with |
837 ":doautocmd". | 852 ":doautocmd". |
838 *UserGettingBored* | 853 *UserGettingBored* |
839 UserGettingBored When the user hits CTRL-C. Just kidding! :-) | 854 UserGettingBored When the user presses the same key 42 times. |
855 Just kidding! :-) | |
840 *VimEnter* | 856 *VimEnter* |
841 VimEnter After doing all the startup stuff, including | 857 VimEnter After doing all the startup stuff, including |
842 loading .vimrc files, executing the "-c cmd" | 858 loading .vimrc files, executing the "-c cmd" |
843 arguments, creating all windows and loading | 859 arguments, creating all windows and loading |
844 the buffers in them. | 860 the buffers in them. |