IntelliJ IDEA
 
Get IntelliJ IDEA

Configure keyboard shortcuts

Last modified: 19 December 2024

IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts.

To view the keymap configuration, open the Settings dialog CtrlAlt0S and select Keymap.

Keymap settings

IntelliJ IDEA automatically suggests a predefined keymap based on your environment. Make sure that it matches the OS you are using or select the one that matches shortcuts from another IDE or editor you are used to (for example, Eclipse or NetBeans).

A keymap is a list of actions with corresponding keyboard and mouse shortcuts and abbreviations. You cannot change predefined keymaps. Instead, when you modify any shortcut of a predefined keymap, IntelliJ IDEA creates a copy of that keymap, which you can configure. Click The Show Scheme Actions icon to duplicate the selected keymap, rename, remove, or restore it to default values. For more information about keymap files, refer to Location of user-defined keymaps.

Some actions inherit their keyboard shortcuts or mouse shortcuts from other actions. On the Keymap page, you can navigate to the parent action using the inherited from link. When you change a shortcut of a parent action, all shortcuts of its child actions change accordingly. When you change a shortcut of a child action, it does not affect the shortcuts of its parent action, but the inheritance link is removed making both actions independent.

Shortcut inheritance

To find an action by name, type it in the search field of the Keymap page. If you know the shortcut of an action, click The Find Action by Shortcut icon and press the key combination in the Find Shortcut dialog.

When consulting this page and other pages in IntelliJ IDEA documentation, you can see keyboard shortcuts for the keymap that you use in the IDE — choose it using the selector at the top of a page.