comparison runtime/doc/autocmd.txt @ 625:81fe2ccc1207 v7.0179

updated for version 7.0179
author vimboss
date Thu, 12 Jan 2006 23:22:24 +0000
parents cd3689efd90a
children 662e40bd2be1
comparison
equal deleted inserted replaced
624:91e7d4a7b3b0 625:81fe2ccc1207
1 *autocmd.txt* For Vim version 7.0aa. Last change: 2005 Dec 18 1 *autocmd.txt* For Vim version 7.0aa. Last change: 2006 Jan 08
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
328 starting to edit a buffer, after the 328 starting to edit a buffer, after the
329 BufReadPost autocommands. 329 BufReadPost autocommands.
330 *BufFilePost* 330 *BufFilePost*
331 BufFilePost After changing the name of the current buffer 331 BufFilePost After changing the name of the current buffer
332 with the ":file" or ":saveas" command. 332 with the ":file" or ":saveas" command.
333 *BufReadCmd* 333 *BufFilePre*
334 BufFilePre Before changing the name of the current buffer 334 BufFilePre Before changing the name of the current buffer
335 with the ":file" or ":saveas" command. 335 with the ":file" or ":saveas" command.
336 *BufHidden* 336 *BufHidden*
337 BufHidden Just after a buffer has become hidden. That 337 BufHidden Just after a buffer has become hidden. That
338 is, when there are no longer windows that show 338 is, when there are no longer windows that show
366 for when you need to do something after 366 for when you need to do something after
367 processing the modelines. 367 processing the modelines.
368 This does NOT work for ":r file". Not used 368 This does NOT work for ":r file". Not used
369 when the file doesn't exist. Also used after 369 when the file doesn't exist. Also used after
370 successfully recovering a file. 370 successfully recovering a file.
371 *BufReadPre* *E200* *E201* 371 *BufReadCmd*
372 BufReadCmd Before starting to edit a new buffer. Should 372 BufReadCmd Before starting to edit a new buffer. Should
373 read the file into the buffer. |Cmd-event| 373 read the file into the buffer. |Cmd-event|
374 *BufFilePre* 374 *BufReadPre* *E200* *E201*
375 BufReadPre When starting to edit a new buffer, before 375 BufReadPre When starting to edit a new buffer, before
376 reading the file into the buffer. Not used 376 reading the file into the buffer. Not used
377 if the file doesn't exist. 377 if the file doesn't exist.
378 *BufUnload* 378 *BufUnload*
379 BufUnload Before unloading a buffer. This is when the 379 BufUnload Before unloading a buffer. This is when the