Mercurial > vim
comparison runtime/doc/autocmd.txt @ 661:e93a99ef31d0
updated for version 7.0195
author | vimboss |
---|---|
date | Thu, 09 Feb 2006 23:53:20 +0000 |
parents | b112ec5c73f0 |
children | 9090f866cd57 |
comparison
equal
deleted
inserted
replaced
660:13296f8d1d3d | 661:e93a99ef31d0 |
---|---|
1 *autocmd.txt* For Vim version 7.0aa. Last change: 2006 Feb 01 | 1 *autocmd.txt* For Vim version 7.0aa. Last change: 2006 Feb 09 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
276 |SpellFileMissing| a spell file is used but it can't be found | 276 |SpellFileMissing| a spell file is used but it can't be found |
277 | 277 |
278 |FocusGained| Vim got input focus | 278 |FocusGained| Vim got input focus |
279 |FocusLost| Vim lost input focus | 279 |FocusLost| Vim lost input focus |
280 |CursorHold| the user doesn't press a key for a while | 280 |CursorHold| the user doesn't press a key for a while |
281 |CursorHoldI| the user doesn't press a key for a while in Insert mode | |
282 |CursorMoved| the cursor was moved in Normal mode | |
283 |CursorMovedI| the cursor was moved in Insert mode | |
281 | 284 |
282 |WinEnter| after entering another window | 285 |WinEnter| after entering another window |
283 |WinLeave| before leaving a window | 286 |WinLeave| before leaving a window |
284 |CmdwinEnter| after entering the command-line window | 287 |CmdwinEnter| after entering the command-line window |
285 |CmdwinLeave| before leaving the command-line window | 288 |CmdwinLeave| before leaving the command-line window |
438 <afile> is set to a single character, | 441 <afile> is set to a single character, |
439 indicating the type of command-line. | 442 indicating the type of command-line. |
440 |cmdwin-char| | 443 |cmdwin-char| |
441 *ColorScheme* | 444 *ColorScheme* |
442 ColorScheme After loading a color scheme. |:colorscheme| | 445 ColorScheme After loading a color scheme. |:colorscheme| |
446 | |
443 *CursorHold* | 447 *CursorHold* |
444 CursorHold When the user doesn't press a key for the time | 448 CursorHold When the user doesn't press a key for the time |
445 specified with 'updatetime'. Not re-triggered | 449 specified with 'updatetime'. Not re-triggered |
446 until the user has pressed a key (i.e. doesn't | 450 until the user has pressed a key (i.e. doesn't |
447 fire every 'updatetime' ms if you leave Vim to | 451 fire every 'updatetime' ms if you leave Vim to |
458 Hint: to force an update of the status lines | 462 Hint: to force an update of the status lines |
459 use: > | 463 use: > |
460 :let &ro = &ro | 464 :let &ro = &ro |
461 < {only on Amiga, Unix, Win32, MSDOS and all GUI | 465 < {only on Amiga, Unix, Win32, MSDOS and all GUI |
462 versions} | 466 versions} |
467 *CursorHoldI* | |
468 CursorHoldI Just like CursorHold, but in Insert mode. | |
469 | |
470 *CursorMoved* | |
471 CursorMoved After the cursor was moved in Normal mode. | |
472 Not triggered when there is typeahead or when | |
473 an operator is pending. | |
474 Careful: Don't do anything that the user does | |
475 not expect or that is slow. | |
476 *CursorMovedI* | |
477 CursorMovedI After the cursor was moved in Insert mode. | |
478 Otherwise the same as CursorMoved. | |
463 *EncodingChanged* | 479 *EncodingChanged* |
464 EncodingChanged Fires off after the 'encoding' option has been | 480 EncodingChanged Fires off after the 'encoding' option has been |
465 changed. Useful to set up fonts, for example. | 481 changed. Useful to set up fonts, for example. |
466 *FileAppendCmd* | 482 *FileAppendCmd* |
467 FileAppendCmd Before appending to a file. Should do the | 483 FileAppendCmd Before appending to a file. Should do the |