Jeenu schrieb:
> Hi,
>
> I'm trying to use Explore with BufNew auto-command so that I get a
> browser whenever I create a new buffer. I did:
>
> aucmd BufNew * Explore
>
> But I don't see Explore command working when I create a new buffer.
> All I see is an empty buffer. :au BufNew command does list Explore
> but.
>
> BufNew
> *.svg setf xml|set matchpairs=<:>
> *.gmk setf make
> *.make setf make
> * Explore
>
> What might be going wrong?
>
> Thanks
> Jeenu
I don't know what the BufNew event is good for, but it gives me crap:
augroup foo
au!
au BufNew * call AddSomeText()
augroup end
func! AddSomeText()
put = 'Text added from BufNew event!'
endfunc
" EOF
:new
modifies text in the old window (gVim 7.1.315).
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---