Selective access to both diastereoisomers in an enantioselective intramolecular Michael reaction by using a single chiral organocatalyst and application in the formal total synthesis of (-)-epibatidine.