Tuesday, June 28, 2011

Re: How to retrigger 'autocmd' ?

2011/6/28 narke <narkewoody@gmail.com>:
> Hi,
>
> When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by
> ':noau vimgrep /xxx/ **/*.c'.   Then I got c file open in a buffer but
> without the syntax highlighting (maybe also other good things). So I
> think what I need to do is to retriggle those 'autocmd' that would
> been usually executed if I don't do 'noau ...'.  Can anyone tell me
> how to, if possible?
>
> Thanks in advance.
>
>
> --
> Life is the only flaw in an otherwise perfect nonexistence
>     -- Schopenhauer
>
> narke
> public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Hi,
usually I just reload the file by entering :e without arguments.

Cheers,
Gregor

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: