# 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](https://fater.gitbook.io/fater-ai-docs/using-editing-and-masking-tools/managing-mask-history "mention")*)*
* **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.)*
