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.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.