Doubling the installed capacity of onshore wind in Scotland and greater support for offshore energy are among the pledges under