On Jul 15, 9:46 am, ThoML <[EMAIL PROTECTED]> wrote:
> >   autocmd VimEnter * augroup misc | exec 'autocmd WinEnter * let
> > w:created=1' | augroup END
>
> IIRC this could become:
>
> autocmd misc VimEnter * exec 'autocmd WinEnter * let w:created=1'

The example I gave was simplified to strip out all the other autocmds
in the 'misc' group. The actual "augroup misc" block contains several
autocmds.

Thanks for the pointer about the group argument to autocmd, though.
That's something I hadn't seen before.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui