Ben Schmidt wrote:
>> au BufNew * Explore
>>     
>
> Hmmm. I expect this doesn't work because the autocommand fires when the
> buffer is being created but isn't necessarily put in a window yet, which
> obviously is needed for :Explore.
>   
[snip]

That sounds like it could be the case.  I wish there was a timing-based 
list of events in the docs.  In autocmd.txt, under "autocommand-events", 
there's an almost-timing-based list, but BufEnter and BufNew are way 
down the list.  Anyway, when I tried running Jeenu's  BufNew triggering 
of Explore with netrw's debugging enabled -- well, it doesn't appear 
that netrw was even called.

Regards,
Chip Campbell


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

Reply via email to