指定键盘快捷键

如果缺少您喜欢的快捷键,可以添加。此外,您还可以为使用鼠标即可轻松执行的功能指定自己的键盘快捷方式,这些功能不会出现在菜单中,也没有默认的键盘快捷方式。例如,在编辑器中选择和删除单词或行。

要更改现有键盘快捷键或分配新快捷键,请执行以下操作

  1. 选择首选项>Environment >Keyboard

    环境偏好设置中的键盘选项卡

  2. 从列表中选择一个命令。
  3. Key Sequence 字段中,您有以下选项:
    • 输入要与所选命令关联的快捷键。
    • 记录按键序列。
  4. 要为一个功能指定多个键盘快捷键,请选择Add ,然后输入或记录额外的组合键。
  5. 要恢复默认快捷键,请选择Reset

记录按键序列

  1. 选择Record
  2. 选择要用作键盘快捷键的按键。
  3. 完成后选择Stop Recording

另请参阅 键盘快捷方式查找键盘快捷方式以及导入和导出键盘快捷方式

Copyright © The Qt Company Ltd. and other contributors. 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.