Assign keyboard shortcuts

If your favorite keyboard shortcut is missing, you can add it. Also, you can assign your own keyboard shortcuts for functions that you can easily perform with a mouse, and that therefore do not appear in menus or have default keyboard shortcuts. For example, selecting and deleting words or lines in an editor.

To change an existing keyboard shortcut or assign a new one:

  1. Select Preferences > Environment > Keyboard.

    {Keyboard preferences}

  2. Select a command from the list.
  3. In the Key Sequence field, you have the following options:
    • Enter the shortcut key you want to associate with the selected command.
    • Record a key sequence.
  4. To assign multiple keyboard shortcuts to a function, select Add, and enter or record an additional key combination.
  5. To revert to the default shortcut, select Reset.

Record key sequences

  1. Select Record.
  2. Press the keys to use as the keyboard shortcut.
  3. Select Stop Recording when you are done.

See also Keyboard Shortcuts, Find keyboard shortcuts, and Import and export keyboard shortcuts.

Available under certain Qt licenses.
Find out more.