Triptycene-containing polyimide membranes with tunable fractional free volume promoting fast gas transport and selective separations.