> 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/cs/znalostni-baze/160-which-emacs-commands-are-usable-in-emacs-mode.md).

# Které příkazy emacsu lze použít v režimu emacs?

Režim emacs (který můžete zapnout ve svém [na stránce nastavení účtu](https://www.overleaf.com/users/edit)) pochází z open source projektu zvaného CodeMirror. Vyvíjí se velmi rychle, takže mu pár věcí chybí, a zatím pro něj neexistuje žádná oficiální dokumentace.

Chcete-li zjistit, které klávesy jsou podporovány, je nyní jedinou možností podívat se na proměnnou keyMap ve zdrojovém kódu zde: <http://codemirror.net/keymap/emacs.js>

### Ctrl-N, Ctrl-T a Ctrl-W

Prohlížeče často používají kombinace kláves používané v Emacsu, včetně Ctrl-N, Ctrl-T a Ctrl-W, k otevírání nebo zavírání oken či karet. Tyto prohlížeče zachytí události dříve, než jsou odeslány do Overleafu, takže s tím bohužel nic nenaděláme.

V závislosti na vašem prohlížeči a operačním systému můžete tento problém obejít přemapováním klávesových zkratek prohlížeče. Například, [existuje rozšíření pro Firefox](https://addons.mozilla.org/en-GB/firefox/addon/s3menu-wizard/) (a není to jediné), které vám umožní tato klávesová spojení přemapovat tak, aby již nespouštěla akce v prohlížeči.

Za zmínku také stojí, že problémy se zkratkami s Ctrl se netýkají prohlížečů v systému Mac OS, které pro tyto funkce obvykle používají klávesu 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/cs/znalostni-baze/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.
