PhpStorm 2021.2 Help

Keymap

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. Predefined keymaps are not editable. When you change shortcut associations for a predefined keymap (listed in bold), PhpStorm creates a copy of that keymap, which you can modify (listed in regular font with an indent below the parent keymap).

Keymap scheme actions

Click The Show Scheme Actions menu to select an action for the selected keymap:

Item

Description

Duplicate

Create a child keymap based on the selected one. It is created automatically when you modify a predefined keymap.

Rename

Change the name of a custom keymap.

Restore Defaults

Abandon all the changes made to a custom keymap and restore the configuration of the parent keymap.

Delete

Remove the selected custom keymap from the list.

Keymap toolbar

Item

Tooltip and shortcut

Description

the Expand All button

Expand All

Ctrl+NumPad +

Expand all nodes in the content pane of actions.

the Collapse All button

Collapse All

Ctrl+NumPad -

Collapse all nodes in the content pane of actions.

the Edit Shortcut icon

Edit Shortcut

Enter

Change shortcuts for the selected action. It is possible to add new shortcuts and remove existing ones. Alternatively, you can right-click the necessary action.

Keymap menu
  • Add Keyboard Shortcut: open the Keyboard Shortcut dialog where you can specify the key combination to assign to the selected action in the current keymap.

  • Add Mouse Shortcut: open the Mouse Shortcut dialog where you can specify the combination of mouse clicks to assign to the selected action in the current keymap.

  • Remove <shortcut>: delete the shortcut from the selected action.

The Show conflicts with system shortcuts button

Show conflicts with system shortcuts

List only those shortcuts that conflict with system hotkeys. Change them to avoid conflicts. Or you can change the corresponding system shortcuts (if possible).

Search field

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 Find to reveal the history list of the previous searches.

Click the Clear button to clear the current search pattern from the field.

the Find Action by Shortcut button

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 Configure 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.

the Clear Filtering button

Clear Filtering

Click this button to restore the initial list of actions in the content pane.

Other options

Option

Description

Show F1, F2, etc. keys on the Touch Bar

The option is available only on Apple MacBook Pro models with a Touch Bar. It is disabled by default, so you have to hold down the Fn key to see function keys. Enable it to always show function keys on the Touch Bar instead of controls specific to PhpStorm. For more information, see Touch bar support.

Use national layout for shortcuts

The option is available only when using a non-English Latin keyboard layout. On macOS and Windows, it is enabled by default, and all characters are interpreted as determined by the layout. For Windows, this behavior is hard-coded, and you can't disable it. On Linux, it is disabled by default, and keys with special characters are interpreted as if you were using an English keyboard layout. For example, pressing the minus key - on a German keyboard will produce a forward slash /, so to execute Alt + / on a German keyboard, press ⌥-.

Use US non-alphanumeric keys for shortcuts

The option is available on Windows when using a Cyrillic layout. It is disabled by default. Enable it to map IDE actions to OEM keyboard characters as if it were an English keyboard layout.

Last modified: 26 April 2021