comparison runtime/doc/autocmd.txt @ 3682:11d40fc82f11

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 12 Jul 2012 22:01:11 +0200
parents 94601b379f38
children 04592728474a
comparison
equal deleted inserted replaced
3681:d9573e846b47 3682:11d40fc82f11
1 *autocmd.txt* For Vim version 7.3. Last change: 2012 Feb 22 1 *autocmd.txt* For Vim version 7.3. Last change: 2012 Jul 10
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
383 for when you need to do something after 383 for when you need to do something after
384 processing the modelines. 384 processing the modelines.
385 This does NOT work for ":r file". Not used 385 This does NOT work for ":r file". Not used
386 when the file doesn't exist. Also used after 386 when the file doesn't exist. Also used after
387 successfully recovering a file. 387 successfully recovering a file.
388 Also triggered for the filetypedetect group
389 when executing ":filetype detect" and when
390 writing an unnamed buffer in a way that the
391 buffer gets a name.
388 *BufReadCmd* 392 *BufReadCmd*
389 BufReadCmd Before starting to edit a new buffer. Should 393 BufReadCmd Before starting to edit a new buffer. Should
390 read the file into the buffer. |Cmd-event| 394 read the file into the buffer. |Cmd-event|
391 *BufReadPre* *E200* *E201* 395 *BufReadPre* *E200* *E201*
392 BufReadPre When starting to edit a new buffer, before 396 BufReadPre When starting to edit a new buffer, before
471 <afile> is set to a single character, 475 <afile> is set to a single character,
472 indicating the type of command-line. 476 indicating the type of command-line.
473 |cmdwin-char| 477 |cmdwin-char|
474 *ColorScheme* 478 *ColorScheme*
475 ColorScheme After loading a color scheme. |:colorscheme| 479 ColorScheme After loading a color scheme. |:colorscheme|
480
481 *CompleteDone*
482 CompleteDone After Insert mode completion is done. Either
483 when something was completed or abandoning
484 completion. |ins-completion|
476 485
477 *CursorHold* 486 *CursorHold*
478 CursorHold When the user doesn't press a key for the time 487 CursorHold When the user doesn't press a key for the time
479 specified with 'updatetime'. Not re-triggered 488 specified with 'updatetime'. Not re-triggered
480 until the user has pressed a key (i.e. doesn't 489 until the user has pressed a key (i.e. doesn't
715 command is run, before jumping to the first 724 command is run, before jumping to the first
716 location. For |:cfile| and |:lfile| commands 725 location. For |:cfile| and |:lfile| commands
717 it is run after error file is read and before 726 it is run after error file is read and before
718 moving to the first error. 727 moving to the first error.
719 See |QuickFixCmdPost-example|. 728 See |QuickFixCmdPost-example|.
729 *QuitPre*
730 QuitPre When using `:quit`, before deciding whether it
731 closes the current window or quits Vim. Can
732 be used to close any non-essential window if
733 the current window is the last ordinary
734 window.
720 *RemoteReply* 735 *RemoteReply*
721 RemoteReply When a reply from a Vim that functions as 736 RemoteReply When a reply from a Vim that functions as
722 server was received |server2client()|. The 737 server was received |server2client()|. The
723 pattern is matched against the {serverid}. 738 pattern is matched against the {serverid}.
724 <amatch> is equal to the {serverid} from which 739 <amatch> is equal to the {serverid} from which