# 键盘快捷键

键盘快捷键是一个键或一组按键组合，为用户提供另一种执行命令的方式，替代原本需要用鼠标完成的复制文本、保存文档或在运行中的应用之间切换等操作。<sup>[1](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)</sup> 快捷键内置于操作系统、单个应用程序和网页内容之中，其惯例因平台而异：Mac 上的大多数快捷键使用空格键旁边的 [Command 键](https://www.edgepedia.org/zh/command-key)（⌘），而 Windows 则将 Control 键与字母键搭配使用，并把 Windows 键保留给系统级命令。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup><sup> • </sup><sup>[3](https://support.microsoft.com/en-US/Windows/Hardware/Input-Devices/windows-keyboard-tips-and-tricks)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 提供替代鼠标操作方式的按键或按键组合<sup>[1](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)</sup> |
| Mac 惯例 | 大多数 Mac 快捷键使用 Command 键（⌘），例如 Command-C 复制、Command-V 粘贴、Command-Z 撤销、Shift-Command-3 全屏截图<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup> |
| Windows 惯例 | Ctrl+X、Ctrl+C、Ctrl+V、Ctrl+Z 分别用于剪切、复制、粘贴和撤销；Windows 键组合如 Win+E（文件资源管理器）和 Win+I（设置）用于系统任务<sup>[3](https://support.microsoft.com/en-US/Windows/Hardware/Input-Devices/windows-keyboard-tips-and-tricks)</sup> |
| 历史起源 | 带有键盘快捷键的剪切、复制、粘贴编辑模型于 1970 年代诞生于施乐帕洛阿尔托研究中心；Alto 上的 Gypsy 提供了首个基于选择、复制和粘贴的无模式界面<sup>[4](https://xeroxalto.computerhistory.org/xerox_alto_file_system_archive.html)</sup> |
| 无障碍规则 | WCAG 2.1.4 字符键快捷键（A 级）要求仅用字符的快捷键必须可以关闭、可重新映射为包含非可打印键的组合，或仅在获得焦点时生效<sup>[5](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts)</sup> |
| 自定义 | macOS 允许用户为任何菜单项创建快捷键，并重新映射 Caps Lock 等修饰键；Windows 公布了默认快捷键列表，并注明应用程序可能更改某些行为<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup><sup> • </sup><sup>[6](https://support.apple.com/en-euro/guide/mac-help/mchlp1011/mac)</sup> |

## 快捷键的工作原理

一个快捷键将一个或多个修饰键（如 Command、Control、Alt 或 Shift）与字母键、数字键或功能键配对，不过有些快捷键只使用单个按键。操作系统和正在运行的应用程序会拦截该击键并执行绑定的命令，而不是输入该字符。在 Mac 上，每个菜单项都会在命令名称右侧以符号形式显示其快捷键，Apple 称这是发现应用快捷键的最快方式。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup> Windows 记录了类似的惯例：某些菜单会在操作名称中为某个字符加下划线，先按 Alt 再按该字母即可执行该操作。<sup>[7](https://support.microsoft.com/en-au/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec)</sup>

同样的击键在不同上下文中可以承载不同的含义。微软指出，某些快捷键的行为因应用程序而异，并以 Ctrl+Shift+V（粘贴为纯文本）为例，说明它并非在所有地方都有效，还指出某些应用程序会改变 Windows 默认的快捷键行为。<sup>[1](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)</sup>

## 平台惯例

**macOS。** Apple 将其快捷键分为几乎适用于所有应用的基本快捷键，以及在各应用菜单中可见的专属快捷键。基本快捷键包括 Command-C、Command-V、Command-X、Command-Z（配合 Shift-Command-Z 重做）、Command-A 全选、Command-S 保存、Command-W 关闭窗口或标签页、Command-Q 退出应用、Command-[空格键](https://www.edgepedia.org/zh/space-bar) 打开 Spotlight 搜索、Command-Tab 在打开的应用之间切换，以及 Shift-Command-3 或 Shift-Command-4 分别截取全屏或选定区域的截图。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup> 更完整的参考还涵盖与 Fn 或地球键组合以使用标准功能键，以及 Control-Command-电源键强制重启等系统操作。<sup>[8](https://support.apple.com/en-us/102650?trk=article-ssr-frontend-pulse_little-text-block)</sup> 用户还可以通过“系统设置”中的“键盘”→“键盘快捷键”→“应用快捷键”为任何菜单项创建自定义快捷键，并重新映射修饰键，例如将 Caps Lock 变为 Control 键。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup><sup> • </sup><sup>[6](https://support.apple.com/en-euro/guide/mac-help/mchlp1011/mac)</sup>

**Windows。** 常见的应用快捷键包括 Ctrl+X、Ctrl+C、Ctrl+V、Ctrl+A、Ctrl+Z、Ctrl+N 新建文档、Ctrl+P 打印、F1 帮助和 Alt+F4 关闭程序；微软提醒这些快捷键大多数情况下有效，但并非在每个应用中都能用。<sup>[3](https://support.microsoft.com/en-US/Windows/Hardware/Input-Devices/windows-keyboard-tips-and-tricks)</sup> 系统级快捷键使用 Windows 键：Win+R 打开“运行”命令，Win+S 打开搜索，Win+E 打开[文件资源管理器](https://www.edgepedia.org/zh/file-explorer)，Win+I 打开设置，Win+D 隐藏或显示桌面，Alt+Tab 打开任务切换器在窗口之间移动。<sup>[3](https://support.microsoft.com/en-US/Windows/Hardware/Input-Devices/windows-keyboard-tips-and-tricks)</sup> 完整的 Windows 列表还增加了任务栏组合键，如 Win+数字 打开或切换到固定在该位置的应用、Win+V 打开剪贴板、Win+Shift+S 进行局部截图。<sup>[7](https://support.microsoft.com/en-au/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec)</sup>

## 历史

如今被视为通用的编辑快捷键可以追溯到施乐公司于 1970 年成立的帕洛阿尔托研究中心（PARC），该中心旨在为未来的电子办公产品开发信息架构。<sup>[9](https://computerhistory.org/blog/xerox-alto-source-code/)</sup> PARC 于 1973 年推出的 Alto 计算机将键盘、鼠标和 606×808 像素的位图显示器结合在一起，其点击选择方法为文字处理开辟了新途径：Bravo 的所见即所得打印和 Gypsy 的剪切粘贴编辑，两者都成为了标准。<sup>[10](https://www.computerhistory.org/revolution/input-output/14/347)</sup>

**Gypsy 与无模式编辑。** Gypsy 是由[拉里·特斯勒](https://www.edgepedia.org/zh/larry-tesler)（Larry Tesler）和蒂姆·莫特（Tim Mott）设计并实现的排版系统，它建立在 Bravo 的文本编辑例程之上，却是首个提供无模式用户界面的系统，该界面基于选择、复制和粘贴模型。<sup>[4](https://xeroxalto.computerhistory.org/xerox_alto_file_system_archive.html)</sup> 在[计算机历史博物馆](https://www.edgepedia.org/zh/computer-history-museum)录制的一段口述历史中，特斯勒描述了丹·英戈尔斯（Dan Ingalls）如何简化了他们的设计，将剪切、复制、粘贴和撤销放入一个小菜单中，并指出他和莫特为 Gypsy 指定了撤销功能却未实现，尽管他们据以开发的 Bravo 代码库中已经有了该功能。<sup>[11](https://archive.computerhistory.org/resources/access/text/2020/02/102717251-05-01-acc.pdf)</sup> Alto 还配备了一个五键和弦键盘，让有经验的用户可以将常用的命令序列存储为单次击键。<sup>[10](https://www.computerhistory.org/revolution/input-output/14/347)</sup><sup> • </sup><sup>[12](https://bitsavers.computerhistory.org/pdf/xerox/alto/memos_1981/Alto_Subsystems_May81.pdf)</sup>

**Apple 的字母选择。** 当特斯勒转到 Apple 并参与 Lisa 的开发时，如今快捷键背后的字母分配得以确定。在 1997 年与克里斯·埃斯皮诺萨（Chris Espinosa）关于 Apple 人机界面起源的一次对话中，特斯勒解释了其中的道理：选择 X 作为剪切，因为它暗示划掉；V 作为粘贴，因为它像插入符一样向下指；C 作为复制，因为它显而易见；Z 作为撤销，因为它是最近的未使用键，而撤销会被频繁使用。<sup>[13](https://archive.computerhistory.org/resources/access/text/2014/10/102739956-05-01-acc.pdf)</sup> Mac 通过 Command 键将这些带入主流，Windows 则采用了相同的字母，用 Control 替代 Command。<sup>[14](https://ieee-isto.org/isto-blog/standards-for-cut-copy-and-past/)</sup>

## 无障碍

键盘操作是基本的无障碍要求。WCAG 成功标准 2.1.1 要求网页内容的所有功能都能通过键盘界面操作，且不对单次击键作特定的时序要求，从而使盲人、低视力者或使用替代键盘、屏幕键盘或语音输入的人能够操作鼠标用户所能操作的一切。<sup>[15](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)</sup>

快捷键本身也可能造成障碍。WCAG 2.1.4 字符键快捷键（A 级）针对仅使用字母、标点、数字或符号实现的快捷键：此类快捷键必须可以关闭、可重新映射为包含一个或多个非可打印键（如 Ctrl 或 Alt）的组合，或仅在相关组件获得焦点时生效。<sup>[5](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts)</sup> 该标准的意图是减少意外触发：字符键快捷键对许多键盘用户来说很方便，但很容易误触，尤其是对于语音输入用户，其口述内容会被解释为字母串。<sup>[5](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts)</sup> 该规则关注的是实质而非按键数量：绑定到字符“?”的快捷键也算数，即使输入该字符本身可能需要 Shift 和斜杠键，该要求同样适用于快速连续按下的字符键序列。<sup>[5](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts)</sup> 实现了单字符快捷键但无法关闭或重新映射的内容，在技术 F99 中被记录为未通过该标准。<sup>[16](https://www.w3.org/WAI/WCAG22/Techniques/failures/F99)</sup>

在网页平台上，HTML 的 `accesskey` 属性允许作者为元素指定一个按键，但 MDN 记录了若干问题：accesskey 值可能与系统或浏览器快捷键或辅助技术冲突，某些键盘布局上可能没有对应的值，且用户可能不会被告知这些按键的存在。基于这些原因，MDN 通常建议不要在大多数通用网站和 Web 应用中使用 accesskey。<sup>[17](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/accesskey)</sup>

## 发现与自定义

由于快捷键是不可见的，两大平台都将它们与可见的界面元素关联起来。Mac 菜单会在每个命令旁边显示其快捷键，Apple 建议从各应用的菜单中学习这些快捷键。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup> Windows 通过带下划线的字符展示菜单加速键，并发布了默认快捷键的完整参考，同时注明应用程序可能覆盖这些快捷键。<sup>[7](https://support.microsoft.com/en-au/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec)</sup><sup> • </sup><sup>[1](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)</sup> 两个平台都允许重新映射：macOS 在系统设置中提供自定义应用快捷键和修饰键重新分配，Windows 允许用户通过设置自定义专用的 Copilot 键。<sup>[2](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)</sup><sup> • </sup><sup>[6](https://support.apple.com/en-euro/guide/mac-help/mchlp1011/mac)</sup><sup> • </sup><sup>[1](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)</sup>

## References

1. [Keyboard shortcuts in Windows, Microsoft Support](https://support.microsoft.com/en-us/accessibility/windows/keyboard-shortcuts-in-windows?WT.mc_id=EM-MVP-4025011)
2. [Keyboard shortcuts on your Mac, Apple Support](https://support.apple.com/guide/mac-help/keyboard-shortcuts-mchlgtd_kbd01/mac)
3. [Windows keyboard tips and tricks, Microsoft Support](https://support.microsoft.com/en-US/Windows/Hardware/Input-Devices/windows-keyboard-tips-and-tricks)
4. [Xerox Alto source code: Gypsy, Computer History Museum](https://xeroxalto.computerhistory.org/xerox_alto_file_system_archive.html)
5. [Understanding Success Criterion 2.1.4: Character Key Shortcuts, W3C WAI](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts)
6. [Change the behavior of the modifier keys on Mac, Apple Support](https://support.apple.com/en-euro/guide/mac-help/mchlp1011/mac)
7. [Keyboard shortcuts in Windows (full reference), Microsoft Support](https://support.microsoft.com/en-au/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec)
8. [Mac keyboard shortcuts, Apple Support](https://support.apple.com/en-us/102650?trk=article-ssr-frontend-pulse_little-text-block)
9. [Xerox Alto Source Code, Computer History Museum](https://computerhistory.org/blog/xerox-alto-source-code/)
10. [Xerox Alto, CHM Revolution, Computer History Museum](https://www.computerhistory.org/revolution/input-output/14/347)
11. [Oral History of Larry Tesler, Computer History Museum](https://archive.computerhistory.org/resources/access/text/2020/02/102717251-05-01-acc.pdf)
12. [Alto Subsystems, May 1981, bitsavers/Computer History Museum](https://bitsavers.computerhistory.org/pdf/xerox/alto/memos_1981/Alto_Subsystems_May81.pdf)
13. [Origins of the Apple human interface: Larry Tesler and Chris Espinosa, Computer History Museum](https://archive.computerhistory.org/resources/access/text/2014/10/102739956-05-01-acc.pdf)
14. [How Keyboard Shortcuts for Cut, Copy, and Paste Became Standards, ISTO, Inc.](https://ieee-isto.org/isto-blog/standards-for-cut-copy-and-past/)
15. [Understanding Success Criterion 2.1.1: Keyboard, W3C WAI](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
16. [F99: Failure of Success Criterion 2.1.4, W3C WAI](https://www.w3.org/WAI/WCAG22/Techniques/failures/F99)
17. [accesskey HTML global attribute, MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/accesskey)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Boards, peripherals & form factors › Peripherals & expansion hardware › Input devices

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/keyboard-shortcut

English original: https://www.edgepedia.org/keyboard-shortcut
