South Africa 's government says it will move away from coal and promote use of wind and nuclear energy in an effort to fight global warming .