The Invert selection command will change the current selection such that everything previously unselected will now be selected and vice versa. If there is no selection, the entire image area will be selected.
Default Keyboard Shortcut: Ctrl-I