Use this page to create, edit, and remove custom keymaps for specific environments, and change shortcuts associated with actions.
Note that default keymaps are not editable. To re-configure shortcut associations, create a child keymap based on the desired default one and edit it as required.
On the other hand, as soon as you try to change a keyboard shortcut associated with an action in one of the default keymaps, a copy of the corresponding keymap is automatically created.
Keymap Management Buttons
|Item||Tooltip and shortcut||Description|
|Click this button to expand all nodes in the content pane of actions.|
|Click this button to collapse all nodes in the content pane of actions.|
|Click this button to change shortcuts for the selected action. It is possible to remove existing shortcuts, and add new ones. Choose the desired change from the drop-down menu:|
|Use this text box to search through the content pane of actions. As you type a search string, the actions that match the search pattern are displayed. |
The previously used search patterns are stored in the search history list. To add the search string to the history list, press Enter.
Click to reveal the history list of the previous searches.
Click to clear the current search pattern from the text box.
|Find Action by Shortcut||Click this button to open the Find Shortcut dialog to filter out the desired actions by keystrokes. Refer to the section Configuring Keyboard Shortcuts to learn how to specify keyboard shortcuts. |
The actions with shortcuts that match the specified criteria are shown in the content pane of actions.
|Clear Filtering||Click this button to restore the initial list of actions in the content pane.|
|All Actions||This content pane shows all actions currently available in PyCharm. The actions are grouped below nodes according to the areas of their use. |
|Shortcuts||This read-only field shows the list of shortcuts associated with the selected action in the current keymap.|
|Context menu of an action|
|Add Keyboard Shortcut||Choose this command on the context menu of an action to open the Enter Keyboard Shortcut dialog box, where you can specify the combination of keystrokes to be assigned to the selected action in the current keymap.|
|Add Mouse Shortcut||Choose this command on the context menu of an action to open the Enter Mouse Shortcut dialog box, where you can specify the combination of mouse clicks and buttons to be assigned to the selected action in the current keymap.|
|Add abbreviation||Choose this command to add an abbreviation that can be used in Search Everywhere.|
|Remove <shortcut>/<abbreviation>||Choose this command on the context menu of an action to delete the selected shortcut or abbreviation.|