> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/zh-cn/zhi-shi-ku/046-hotkeys.md).

# 热键

这里列出了 Overleaf 中可用的快捷键。对于 Mac 用户，下面的命令将使用 **Cmd** 键，而不是 **Ctrl**.

此列表包含 Source 编辑器的快捷键，不过其中大多数也适用于 Source（旧版）编辑器。

| 命令                                                                  | 操作                                                                                                 |
| ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Ctrl + F**                                                        | 查找和替换。                                                                                             |
| <p><strong>Ctrl + Enter</strong><br>或 <strong>Ctrl + S</strong></p> | 编译项目。                                                                                              |
| **Ctrl + Z**                                                        | 撤销。                                                                                                |
| **Ctrl + Y**                                                        | 重做。                                                                                                |
| **Ctrl + Home**                                                     | 转到当前文件的第一行。                                                                                        |
| **Ctrl + End**                                                      | 转到当前文件的最后一行。                                                                                       |
| **Ctrl + Shift + L**                                                | <p>转到指定行（会打开对话框）。<br>使用 <strong>Ctrl + L</strong> 在 Source（旧版）编辑器中。</p>                            |
| **Ctrl + /**                                                        | 切换所选行的注释状态。（对选中的文本添加/取消注释。）                                                                        |
| **Ctrl + D**                                                        | 删除当前行。                                                                                             |
| **Ctrl + A**                                                        | 全选。                                                                                                |
| **Tab**                                                             | 缩进所选内容。                                                                                            |
| **Shift + Tab**                                                     | 减少所选内容的缩进。                                                                                         |
| **Ctrl + U**                                                        | 将选中文本转换为大写。                                                                                        |
| **Ctrl + Shift + U**                                                | 将选中文本转换为小写。                                                                                        |
| **Ctrl + B**                                                        | 加粗。                                                                                                |
| **Ctrl + I**                                                        | 斜体。                                                                                                |
| **Ctrl + Space**                                                    | <p>打开自动补全菜单。<br>（使用 <strong>Opt + Space</strong> 在 Mac 上也可使用，而不是 <strong>Cmd + Space</strong>)</p> |

更全面的键盘快捷键列表可在 [此 Overleaf 项目模板中找到](https://www.overleaf.com/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/zh-cn/zhi-shi-ku/046-hotkeys.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
