Closed weilbith closed 6 years ago
Does the FileType
event not work for you?
autocmd FileType twiggy echom "Twiggy open"
Oh damn. That was something I could know/tried. :see_no_evil: Sorry for wasting your time and thank you very much!
Hey no, prob—we're all learning here!
I'd like to establish an autocommand when the
twiggy
buffer get opened. Unfortunately I can't find an event that gets thrown to do so. As file pattern I use*
cause it feels easier to check for the filetype. Anyways, if I add anautocmd
without any filter which just useechom
and try it for all event listed inh autocmd-events
, I never get an entry after open:Twiggy
when I have a look at:messages
. I'm confused about this. What am I doing wrong?