2-Alkanoyl(aroyl)-pyridines have been successfully used for coupling with alkyl vinyl ketones under the influence of TMSOTf providing a facile protocol for the synthesis of substituted indolizines, thus demonstrating the application of ketones as electrophiles in a two component Baylis–Hillman reaction.