Eric Arnold wrote:
> That will probably do for now. Thanks.
>
> However, having a flag would be a good thing, since it would allow
> future modifications to vimgrep to be encapsulated in the flag.
> Meaning, in the future, :vimgrep /pattern/fast would not
> necessarily be synonymous with :set eventignore=all
Before even thinking of disabling autocommands, we first need proof that
this actually changes the search time more than a few percent.
Above that, if BufRead autocommands take so much time there is probably
something wrong with them. You should find out why this happens.
Vim already disables FileType autocommands to avoid ftplugins and syntax
scripts, these are not needed for grepping. But this causes trouble
for buffers that have a match, especially the first one. Vim takes care
of that for Filetype, but if you disable all autocommands you may
experience the side effect of that.
--
TIM: But follow only if you are men of valour. For the entrance to this cave
is guarded by a monster, a creature so foul and cruel that no man yet has
fought with it and lived. Bones of full fifty men lie strewn about its
lair ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///