JetBrains Rider 2020.3 Help

Customize keyboard shortcuts

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

To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap.

Keymap settings

Among all of the predefined keymaps, you will most probably choose one of the following:

If you are using Rider on macOS, it is recommended to choose a keymap with the OSX suffix, for example Visual Studio OSX.

You cannot change predefined keymaps. When you modify any shortcut, JetBrains Rider creates a copy of the currently selected keymap, which you can configure. Click The Show Scheme Actions icon to duplicate the selected keymap, rename, remove, or restore it to default values.

The keymap itself is a list of actions with corresponding keyboard and mouse shortcuts, and abbreviations. To find an action by name, type it in the search field. 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 documentation, you can see keyboard shortcuts for the keymap that you use — choose it with the selector at the top of the page:

Keyboard shortcuts selector in the documentation

Add a keyboard shortcut

  1. On the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S, right-click an action and select Add Keyboard Shortcut.

    Assigning a shortcut to Set Execution Point
  2. In the Keyboard Shortcut dialog, press the necessary key combination.

  3. If necessary, select the Second stroke checkbox to define a complex shortcut with two sequential key combinations.

  4. Click OK to save the shortcut.

The key combination that you press is displayed in the Keyboard Shortcut dialog, as well as a warning if it conflicts with existing shortcuts.

Add a mouse shortcut

  1. On the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S, right-click an action and select Add Mouse Shortcut.

  2. In the Mouse Shortcut dialog, move the mouse pointer to the central area and click or scroll as necessary.

  3. Click OK to save the shortcut.

The performed mouse manipulations are displayed in the Mouse Shortcut dialog, as well as a warning if it conflicts with existing shortcuts.

Add an abbreviation

An abbreviation can be used to quickly find an action without a shortcut. For example, you can press Ctrl+Shift+A and type the name of the Jump to Colors and Fonts action to quickly modify the color and font settings of the element under the current caret position. If you assign an abbreviation for this action (like JCF ), you can then type it instead of the full action name.

  1. On the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S, right-click an action and select Add Abbreviation.

  2. In the Abbreviation dialog, type the desired abbreviation and click OK.

Reset action shortcuts to default

If you changed, added, or removed a shortcut for an action, you can reset it to the initial configuration.

  • On the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S, right-click an action and select Reset Shortcuts.

In addition to keymaps distributed with JetBrains Rider, you can install other keymaps via plugins, for example:

Location of user-defined keymaps

All user-defined keymaps are stored in separate configuration files under the keymaps subdirectory in the JetBrains Rider configuration directory:

Syntax
%APPDATA%\JetBrains\<product><version>\keymaps
Example
C:\Users\JohnS\AppData\Roaming\JetBrains\Rider2020.3\keymaps
Syntax
~/Library/Application Support/JetBrains/<product><version>/keymaps
Example
~/Library/Application Support/JetBrains/Rider2020.3/keymaps
Syntax
~/.config/JetBrains/<product><version>/keymaps
Example
~/.config/JetBrains/Rider2020.3/keymaps

Each keymap file contains only the differences relative to the parent keymap.

You can use these files to share your custom keymaps with team members or between your IDE instances. Copy the corresponding keymap file and put it in the keymaps directory on another JetBrains Rider installation.

Conflicts with global OS shortcuts

Predefined keymaps do not cover every possible platform, version, and configuration. Some shortcuts can conflict with global system actions and shortcuts for third-party software. To fix these conflicts, you can reassign or disable the conflicting shortcut.

JetBrains Rider detects conflicts with system shortcuts and notifies you with a popup message:

Notification on conflicting shortcuts

Click Modify shortcuts to open the Keymap settings dialog where you can make the necessary adjustments:

Adjust conflicting shortcuts

Here are a few examples of possible system shortcut conflicts with the default keymap in JetBrains Rider. Make sure that function keys are enabled on your system.

ShortcutSystem actionJetBrains Rider action
⌃SpaceSelect the previous input sourceBasic code completion
⇧⌘ASearch man Page Index in TerminalFind Action
ShortcutSystem actionJetBrains Rider action
Ctrl+Alt+SShade windowOpen the Settings dialog
Ctrl+Alt+LLock screenReformat Code
Ctrl+Alt+TLaunch TerminalSurround With
Ctrl+Alt+F12Open the tty12 virtual consoleFile path
Ctrl+Alt+Left
Ctrl+Alt+Right
Switch between WorkspacesUndo/redo navigation operations
Alt+F7Move windowFind Usages
Alt+F8Resize windowEvaluate Expression
Last modified: 08 March 2021