Learn how to change a conflicting keyboard shortcut.) (If you use multiple input sources to type in different languages, these shortcuts change input sources instead of showing Spotlight. To perform a Spotlight search from a Finder window, press Command–Option–Space bar.
To minimize all windows of the front app, press Option-Command-M.
You can then press Shift-Command-Z to Redo, reversing the undo command.