# 常用快捷键

> 查找编辑器 AI 操作和自定义键位，并区分 Agents Window 的不同语境。

- 网址：https://funcoding.ai/agents/cursor/reference/keyboard-shortcuts/
- 核实日期：2026-10-07（命令、配置和价格以官方文档为准）
- 官方来源：[Cursor 官方文档：Keyboard Shortcuts](https://cursor.com/help/customization/keyboard-shortcuts)、[Cursor 官方文档：Cursor Agent](https://cursor.com/docs/agent/overview)

---
以下是编辑器默认 AI 快捷键。已导入 keymap、扩展拦截或手工更改时，以当前 Keyboard Shortcuts 显示为准。

| 操作 | macOS | Windows/Linux |
| --- | --- | --- |
| 打开/关闭 Sidepanel | Cmd+I 或 Cmd+L | Ctrl+I 或 Ctrl+L |
| Inline edit | Cmd+K | Ctrl+K |
| Mode menu | Cmd+. | Ctrl+. |
| 轮换 Agent modes | Shift+Tab | Shift+Tab |
| 轮换模型 | Cmd+/ | Ctrl+/ |
| 接受 Tab suggestion | Tab | Tab |

## 自定义

官方帮助页的键位入口是 macOS 先 Cmd+R 再 Cmd+S，Windows/Linux 先 Ctrl+R 再 Ctrl+S。搜索命令，点击铅笔，按新组合后 Return 保存。

## 同一按键的上下文

Agents Window 的 Cmd/Ctrl+K 用于命令面板和跨会话搜索，不应与经典编辑器 Inline edit 混用。打开会话内查找为 Cmd/Ctrl+F。

运行中发消息的 Enter、双 Enter、Tab 和 Cmd+Enter 行为因编辑器、web steering、CLI 而不同，见[Agent 概览](https://funcoding.ai/agents/cursor/agent/overview/)。遇到按键失效，先检查焦点与键位冲突，再按[扩展诊断](https://funcoding.ai/agents/cursor/troubleshooting/performance/)定位。
