comparison runtime/doc/autocmd.txt @ 11:4424b47a0797

updated for version 7.0003
author vimboss
date Wed, 30 Jun 2004 16:16:41 +0000
parents 3fc0f57ecb91
children bdeee1504ac1
comparison
equal deleted inserted replaced
10:4e2284e71352 11:4424b47a0797
1 *autocmd.txt* For Vim version 7.0aa. Last change: 2004 Apr 20 1 *autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
302 version and a few console versions where this 302 version and a few console versions where this
303 can be detected. 303 can be detected.
304 *FocusLost* 304 *FocusLost*
305 FocusLost When Vim lost input focus. Only for the GUI 305 FocusLost When Vim lost input focus. Only for the GUI
306 version and a few console versions where this 306 version and a few console versions where this
307 can be detected. 307 can be detected. May also happen when a
308 dialog pops up.
308 *FuncUndefined* 309 *FuncUndefined*
309 FuncUndefined When a user function is used but it isn't 310 FuncUndefined When a user function is used but it isn't
310 defined. Useful for defining a function only 311 defined. Useful for defining a function only
311 when it's used. Both <amatch> and <afile> are 312 when it's used. Both <amatch> and <afile> are
312 set to the name of the function. 313 set to the name of the function.
465 VimLeavePre. 466 VimLeavePre.
466 To detect an abnormal exit use |v:dying|. 467 To detect an abnormal exit use |v:dying|.
467 *EncodingChanged* 468 *EncodingChanged*
468 EncodingChanged Fires off when the 'encoding' option is 469 EncodingChanged Fires off when the 'encoding' option is
469 changed. Useful to set up fonts, for example. 470 changed. Useful to set up fonts, for example.
471 *InsertEnter*
472 InsertEnter When starting Insert mode. Also for Replace
473 mode and Virtual Replace mode. The
474 |v:insertmode| variable indicates the mode.
475 Be careful not to move the cursor or do
476 anything else that the user does not expect.
477 *InsertChange*
478 InsertChange When typing <Insert> while in Insert or
479 Replace mode. The |v:insertmode| variable
480 indicates the new mode.
481 Be careful not to move the cursor or do
482 anything else that the user does not expect.
483 *InsertLeave*
484 InsertLeave When leaving Insert mode. Also when using
485 CTRL-O |i_CTRL-O|.
470 *FileEncoding* 486 *FileEncoding*
471 FileEncoding Obsolete. It still works and is equivalent 487 FileEncoding Obsolete. It still works and is equivalent
472 to |EncodingChanged|. 488 to |EncodingChanged|.
473 *RemoteReply* 489 *RemoteReply*
474 RemoteReply When a reply from a Vim that functions as 490 RemoteReply When a reply from a Vim that functions as