> For the complete documentation index, see [llms.txt](https://fater.gitbook.io/fater-ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fater.gitbook.io/fater-ai-docs/reference-materials/keyboard-shortcuts.md).

# Keyboard Shortcuts

Fater supports several keyboard shortcuts to help you work more efficiently within the **Image Editor**.

***

### General Editor Shortcuts

* **Deselect Active Tool:**
  * Press **`Escape`**
  * *Action:* If you have a tool selected from the **Inpaint Toolbar** (like Brush, Pencil, etc.), pressing Escape will typically deselect it, returning you to a neutral state (often for panning the canvas).

### Masking Shortcuts

These shortcuts apply when working with masks on the **Inpaint Canvas**:

* **Undo Last Mask Action:**
  * **`Ctrl+Z`** (Windows/Linux)
  * **`Cmd+Z`** (Mac)
  * *Action:* Reverts the last modification made to your mask. *(See* [Managing Mask History](/fater-ai-docs/using-editing-and-masking-tools/managing-mask-history.md)*)*
* **Redo Last Undone Mask Action:**
  * **`Ctrl+Y`** (Windows/Linux)
  * **`Cmd+Shift+Z`** (Mac)
  * *Action:* Re-applies the last mask action that was undone.

### Tool-Specific Shortcuts

* **Adjust Brush/Tool Size (Mask Brush, Layer Eraser, Pencil):**
  * Hold **`Shift`** + **Scroll Mouse Wheel** (Up or Down)
  * *Action:* Increases or decreases the size of the active tool's brush tip.
* **Constrain Line (Cutter/Edge Drawing Tool):**
  * Hold **`Shift`** while clicking the second point of the line.
  * *Action:* Constrains the line drawn by the **Cutter/Edge Tool** to be perfectly horizontal or vertical.
* **Subtract Mode (Polygonal Lasso, Prompt to Mask, Apply Layer to Mask):**
  * Hold **`Alt`** while initiating or performing the action.
  * *Action:*
    * **Polygonal Lasso:** Starts drawing a polygon that will *subtract* from the existing mask.
    * **Prompt to Mask:** The AI-generated mask will be *subtracted* from the existing mask.
    * **Apply Layer to Mask:** The selected layer's content will be used to *subtract* from the existing mask.
* **Inflate/Deflate Mask with Larger Step:**
  * Hold **`Shift`** (optionally with `Alt` for deflate) while clicking the **Inflate/Deflate Mask** (`Expand` icon) on the Inpaint Toolbar.
  * *Action:* Modifies the mask by a larger pixel radius.

### Text Input Field Shortcuts

When typing in text fields (e.g., Prompt Input, Layer Names, Agent Chat):

* **Standard Text Editing:**
  * **`Ctrl+Z` / `Cmd+Z`:** Undo typing.
  * **`Ctrl+Y` / `Cmd+Shift+Z`:** Redo typing.
  * **`Ctrl+A` / `Cmd+A`:** Select all text.
  * **`Ctrl+C` / `Cmd+C`:** Copy selected text.
  * **`Ctrl+V` / `Cmd+V`:** Paste text.
  * **`Ctrl+X` / `Cmd+X`:** Cut selected text.
* **Submit Prompt (Floating Prompt Area):**
  * Press **`Enter`** (without Shift)
  * *Action:* Sends the current prompt for AI generation.

***

*(This list will be updated as more shortcuts are added or existing ones are refined.)*


---

# 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://fater.gitbook.io/fater-ai-docs/reference-materials/keyboard-shortcuts.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.
