Build nuclear power plants.
All the other things are fine, but if you really want to end fossil fuels, you need a non-fossil-fuel source of reliable base load power. Nuclear is the only one we have. Other sources are fine, but they can't produce reliable base load power.
And, btw, I think we should end fossil fuels even if it turns out not to make much of a difference to climate change (which might well be the case since all of the models that have a high sensitivity to CO2 built in have been over-predicting warming for several decades now).