CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Keyboard shortcuts

Last modified: 19 December 2024

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

A keymap is a list of actions with corresponding keyboard and mouse shortcuts and abbreviations.

You can find keymap configuration in Settings | Keymap:

Keymap settings

You cannot save changes in predefined keymaps. Instead, when you modify any shortcut of a predefined keymap, CLion creates a copy of that keymap, which you can then configure as needed.

Click The Show Scheme Actions icon to duplicate the selected keymap, rename, remove, or restore it to default values.

Duplicating a keymap

CLion 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).

Predefined keymap options

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