Use this page to search for shortcuts and actions in the selected keymap, create, edit, and remove custom keymaps, and change shortcuts associated with actions in custom keymaps.
Note that the predefined keymaps are not editable. When you re-configure shortcut associations for the first time, PyCharm will automatically create a copy of the currently selected predefined keymap, which then becomes editable
Keymap Management Buttons
Select the desired keymap.
Create a child keymap on the basis of the keymap selected in the Keymaps list.
Abandon all the changes made to a custom keymap and restore the configuration of the parent keymap.
Remove the selected custom keymap from the list.
Prefer key position over key char with national layout
The option is available only when a non-English keyboard layout has been detected on macOS. If enabled, PyCharm interprets some keys with special characters as if you were using an English keyboard layout (for example, pressing the minus key
Based on keymap
This read-only field shows the name of the parent keymap.
Tooltip and shortcut
Expand AllCtrl+NumPad Plus
Expand all nodes in the content pane of actions.
Collapse AllCtrl+NumPad -
Collapse all nodes in the content pane of actions.
Change shortcuts for the selected action. It is possible to remove existing shortcuts, and add new ones. Select the necessary action from the list:
These commands are duplicated in the context menus of the actions in the Actions content pane.
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 field.
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.
Click this button to restore the initial list of actions in the content pane.
This content pane shows all actions currently available in PyCharm. The actions are grouped below nodes according to the areas of their use.
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
Open the Enter Keyboard Shortcut dialog, where you can specify the combination of keystrokes to be assigned to the selected action in the current keymap.
Add Mouse Shortcut
Open the Enter Mouse Shortcut dialog, where you can specify the combination of mouse clicks and buttons to be assigned to the selected action in the current keymap.
Add an abbreviation that can be used in Search Everywhere.
Delete the selected shortcut or abbreviation.