Mercurial > vim
comparison runtime/doc/autocmd.txt @ 6951:b2673982c625
Updated and new runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Jul 2015 19:19:13 +0200 |
parents | 4db70c94226b |
children | 349e6c01f35d |
comparison
equal
deleted
inserted
replaced
6950:21cbf1529a71 | 6951:b2673982c625 |
---|---|
1 *autocmd.txt* For Vim version 7.4. Last change: 2015 Jul 10 | 1 *autocmd.txt* For Vim version 7.4. Last change: 2015 Jul 20 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
756 indicates what option has been set. | 756 indicates what option has been set. |
757 | 757 |
758 Is not triggered on startup and for the 'key' | 758 Is not triggered on startup and for the 'key' |
759 option for obvious reasons. | 759 option for obvious reasons. |
760 | 760 |
761 Note: It's a bad idea, to reset an option | 761 Usage example: Check for the existence of the |
762 during this autocommand, since this will | 762 directory in the 'backupdir' and 'undodir' |
763 probably break plugins. You can always use | 763 options, create the directory if it doesn't |
764 |noa| to prevent triggering this autocommand. | 764 exist yet. |
765 Could be used, to check for existence of the | 765 |
766 'backupdir' and 'undodir' options and create | 766 Note: It's a bad idea to reset an option |
767 directories, if they don't exist yet. | 767 during this autocommand, this may break a |
768 plugin. You can always use `:noa` to prevent | |
769 triggering this autocommand. | |
768 | 770 |
769 *QuickFixCmdPre* | 771 *QuickFixCmdPre* |
770 QuickFixCmdPre Before a quickfix command is run (|:make|, | 772 QuickFixCmdPre Before a quickfix command is run (|:make|, |
771 |:lmake|, |:grep|, |:lgrep|, |:grepadd|, | 773 |:lmake|, |:grep|, |:lgrep|, |:grepadd|, |
772 |:lgrepadd|, |:vimgrep|, |:lvimgrep|, | 774 |:lgrepadd|, |:vimgrep|, |:lvimgrep|, |