Plugin access and Roles

By default only super admins/administrators can edit plugin/theme settings.
http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table

If you want to give access to plugin/theme settings (or other stuff) for an editor you can add a capability to a role.
How can I allow the Editor Role to change Theme Settings?