Open up the Hotkey editor (Window > Settings/Preferences > Hotkeys. In the lower half of the window, click New to create a new command. Enter a name and description and pick a category. I recommend seleting the User category, so the command is easier to find later. Then, type the following in the command area:
Click Accept and then assign a hotkey to it. Click Save, and you're done!