Highly efficient synthesis of functionalized indolizines and indolizinones by copper-catalyzed cycloisomerizations of propargylic pyridines.