> 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/uk/baza-znan/160-which-emacs-commands-are-usable-in-emacs-mode.md).

# Які команди Emacs можна використовувати в режимі Emacs?

Режим emacs (який ви можете увімкнути через свою [сторінку налаштувань облікового запису](https://www.overleaf.com/users/edit)) походить із проєкту з відкритим кодом під назвою codemirror. Він дуже швидко розвивається, тож у ньому бракує деяких речей, і наразі для нього ще немає офіційної документації.

Щоб побачити, які клавіші підтримуються, наразі єдиний варіант — подивитися на змінну keyMap у вихідному коді тут: <http://codemirror.net/keymap/emacs.js>

### Ctrl-N, Ctrl-T і Ctrl-W

Браузери часто використовують комбінації клавіш, які застосовуються в Emacs, зокрема Ctrl-N, Ctrl-T і Ctrl-W, для відкриття або закриття вікон чи вкладок. Ці браузери перехоплюють події ще до того, як вони надсилаються до Overleaf, тож, на жаль, ми нічого не можемо з цим вдіяти.

Залежно від вашого браузера та операційної системи, можливо, ви зможете обійти цю проблему, переназначивши комбінації клавіш вашого браузера. Наприклад, [є розширення для FireFox](https://addons.mozilla.org/en-GB/firefox/addon/s3menu-wizard/) (і це не єдине), яке дозволить вам переназначити ці комбінації клавіш так, щоб вони більше не запускали дії в браузері.

Також варто зазначити, що проблеми з комбінаціями Ctrl не впливають на браузери в Mac OS, які зазвичай використовують клавішу Command для цих функцій.


---

# 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/uk/baza-znan/160-which-emacs-commands-are-usable-in-emacs-mode.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.
