CLion 2016.3 Help

Keymap

File | Settings | Keymap for Windows and Linux CLion | Preferences | Keymap for OS X


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

ItemDescription
KeymapsFrom this drop-down list, select the desired keymap.
CopyClick this button to create a child keymap on the basis of the keymap selected in the Keymaps drop-down list.
ResetClick this button to abandon all the changes made to a custom keymap and restore the configuration of the parent keymap.
DeleteClick this button to remove the selected custom keymap from the list.
<language> layout supportThis check box appears when a non-English keyboard layout has been detected. When you type any character in the editor, the keyboard layout is recognized and a notification appears.
Based on keymapThis read-only field shows the name of the parent keymap.

Keymap Toolbar

ItemTooltip and shortcutDescription
expandAll.pngExpand All
Ctrl+NumPad Plus
Click this button to expand all nodes in the content pane of actions.
collapseAll.pngCollapse All
Ctrl+NumPad -
Click this button to collapse all nodes in the content pane of actions.
/help/img/idea/2016.3/editFlexLibraryNew.png Edit Shortcut
Enter
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:
/help/img/idea/2016.3/keymap_menu.png
  • Select the option Add Keyboard Shortcut 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.
  • Select the option Add Mouse Shortcut 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.
  • Select the options Remove <shortcut> to delete the selected shortcut from the selected action.

These commands are duplicated on the context menus of the actions in the Actions content pane.

/help/img/idea/2016.3/search_field.png 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 find1.gif to reveal the history list of the previous searches.

Click /help/img/idea/2016.3/clear.png to clear the current search pattern from the text box.

/help/img/idea/2016.3/find2.png Find Action by ShortcutClick this button to open the Filter Settings dialog box for filtering out the desired actions by keystrokes. Refer to the section Configuring Keyboard Shortcuts to learn how to specify keyboard shortcuts.
/help/img/idea/2016.3/keymap_find_shortcut.png

The actions with shortcuts that match the specified criteria are shown in the content pane of actions.

/help/img/idea/2016.3/gc.png Clear FilteringClick this button to restore the initial list of actions in the content pane.

Actions

ItemDescription
All ActionsThis content pane shows all actions currently available in CLion. The actions are grouped below nodes according to the areas of their use.
  • Note that default keymaps are not editable. As soon as you try to change a keyboard shortcut associated with an action, a copy of the corresponding keymap is automatically created.
  • If some of the actions have no mapped keyboard shortcuts, they still can be invoked by Go to Action.
ShortcutsThis read-only field shows the list of shortcuts associated with the selected action in the current keymap.
Context menu of an action
Add Keyboard ShortcutChoose 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 ShortcutChoose 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 abbreviationChoose 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.

See Also

Last modified: 29 March 2017