File | Settings | IDE Settings | Keymap - Enter Keyboard Shortcut
The dialog box opens when you select an action and click the Add Keyboard Shortcut button. Use this dialog box to bind the selected action with a new keyboard shortcut, which may consist of one or two keystrokes. The resulting keyboard shortcut is marked with the icon in the Shortcuts list.
Use your mouse pointer to click buttons in the dialog box. Any key stroke is interpreted as a shortcut!
|First Stroke||Use this text box to define the primary shortcut by pressing keyboard keys and key combinations.|
|Enable||Select this check box to allow an optional second shortcut.|
|Second Stroke||Use this text box to define an optional shortcut by pressing keyboard keys and key combinations.
This field is available after the Enable check box is selected.
|Shortcut Preview||In this read-only field, view the newly defined shortcuts.|
This read-only field shows messages about conflicts that arise if a suggested keystroke is
already in use.
You can ignore a conflict and assign a shortcut to several actions. However it is strongly recommended that you avoid binding two actions with the same shortcut, because the priority of these actions is not defined.