comparison runtime/doc/autocmd.txt @ 179:7fd70926e2e1 v7.0055

updated for version 7.0055
author vimboss
date Fri, 04 Mar 2005 23:39:37 +0000
parents 4d9eabb1396e
children 73f016dbb279
comparison
equal deleted inserted replaced
178:4d53c2a2af94 179:7fd70926e2e1
1 *autocmd.txt* For Vim version 7.0aa. Last change: 2005 Feb 21 1 *autocmd.txt* For Vim version 7.0aa. Last change: 2005 Mar 04
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
284 a file has changed since editing started. 284 a file has changed since editing started.
285 Also when the file attributes of the file 285 Also when the file attributes of the file
286 change. |timestamp| 286 change. |timestamp|
287 Mostly triggered after executing a shell 287 Mostly triggered after executing a shell
288 command, but also with a |:checktime| command 288 command, but also with a |:checktime| command
289 or when Vim regains input focus. 289 or when Gvim regains input focus.
290 This autocommand is triggered for each changed 290 This autocommand is triggered for each changed
291 file. It is not used when 'autoread' is set 291 file. It is not used when 'autoread' is set
292 and the buffer was not changed. If a 292 and the buffer was not changed. If a
293 FileChangedShell autocommand is present the 293 FileChangedShell autocommand is present the
294 warning message and prompt is not given. 294 warning message and prompt is not given.
295 This is useful for reloading related buffers 295 This is useful for reloading related buffers
296 which are affected by a single command. 296 which are affected by a single command.
297 The |v:fcs_reason| variable is set to indicate
298 what happened and |v:fcs_choice| can be used
299 to tell Vim what to do next.
297 NOTE: When this autocommand is executed, the 300 NOTE: When this autocommand is executed, the
298 current buffer "%" may be different from the 301 current buffer "%" may be different from the
299 buffer that was changed "<afile>". 302 buffer that was changed "<afile>".
300 NOTE: The commands must not change the current 303 NOTE: The commands must not change the current
301 buffer, jump to another buffer or delete a 304 buffer, jump to another buffer or delete a