Poly(vinylidene chloride)-based carbon with ultrahigh microporosity and outstanding performance for CH4 and H2 storage and CO2 capture.