On Tuesday 21 April 2009 15:42:36 Iain Arnell wrote: > - autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec > + if executable("rpmdev-newspec") > + autocmd BufNewFile *.spec exe "rpmdev-newspec -o - ".bufname("%") > + else > + autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec Please don't make vim do yet another bunch of stat() calls at startup to look for this </whine> -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list