> For the complete documentation index, see [llms.txt](https://mkfont.gitbook.io/mkfont-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mkfont.gitbook.io/mkfont-docs/reference/keyboard-shortcuts.md). Agents can also search and read this documentation through its [MCP server](https://mkfont.gitbook.io/mkfont-docs/~gitbook/mcp).

# Keyboard Shortcuts

Every key and mouse gesture in MkFont, by area, and when a key is typed into a field instead of running a command.

Shortcuts are written the Windows way. On a Mac, `Ctrl` is `⌘`, with one exception: switching fonts stays on the Control key, as `⌃` + `Tab`. `F1` opens the same list inside the app, and every menu shows the shortcut of each of its commands.

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-7ff86dd96ab403b8512140e332b7e9d2e4d05cc1%2Fkeyboard-shortcuts-dialog.png?alt=media" alt="STILL | id: keyboard-shortcuts-dialog | SHOWS: The Keyboard shortcuts dialog, the list this page mirrors | FRAME: Keyboard shortcuts dialog open, scrolled to the top, showing the first command groups with their keys | CROP: dialog | NEEDS: any font | SOURCE: Sample font, browser build"><figcaption><p>The app carries its own copy of this page.</p></figcaption></figure>

## Where a key goes

*A key is typed into a field or runs a command, depending on what has the focus.*

| Focus                              | Keys                                                                                                                                                                                                                                                                   |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A text or number field             | Keys type into the field. Only the commands that make sense while typing still run: **New font**, **Open**, **Save**, **Save as**, **Export font**, **Preferences**, **Find glyph**, **Command palette**, **Next font**, **Previous font** and **Keyboard shortcuts**. |
| The grid, or nothing in particular | Every shortcut runs. Single keys, `Delete`, `Enter`, `Escape` and the digits, act on the selection.                                                                                                                                                                    |
| The outline editor                 | Single keys belong to the editor: `Delete` removes points, not glyphs.                                                                                                                                                                                                 |
| A dialog or an open menu           | Shortcuts are off until it closes.                                                                                                                                                                                                                                     |

`Ctrl` + `C` copies text when text is selected in the window, a glyph name in the inspector for instance, and copies the selected glyphs otherwise.

## File

*Fonts, and the way in and out.*

| Keys                   | Command                                               |
| ---------------------- | ----------------------------------------------------- |
| `Ctrl` + `N`           | **New font**                                          |
| `Ctrl` + `O`           | **Open**                                              |
| `Ctrl` + `S`           | **Save**                                              |
| `Ctrl` + `Shift` + `S` | **Save as**                                           |
| `Ctrl` + `I`           | **Import SVGs**                                       |
| `Ctrl` + `E`           | **Export font**, in the format set in **Preferences** |
| `Ctrl` + `W`           | **Close font**                                        |
| `Ctrl` + `,`           | **Preferences**                                       |

## Edit

*Undo, and the clipboard.*

| Keys                                    | Command                                                               |
| --------------------------------------- | --------------------------------------------------------------------- |
| `Ctrl` + `Z`                            | **Undo**                                                              |
| `Ctrl` + `Y`, or `Ctrl` + `Shift` + `Z` | **Redo**                                                              |
| `Ctrl` + `C`                            | **Copy glyphs**                                                       |
| `Ctrl` + `V`                            | **Paste**                                                             |
| `Ctrl` + `Shift` + `V`                  | **Paste in place (same slots)**                                       |
| `Ctrl` + `Alt` + `V`, or `Ctrl` + `T`   | **Paste transforms**                                                  |
| `Delete`, or `Backspace`                | **Delete**: the selected glyphs, or the selected pairs in a pair view |

## Select

*The selection in the range shown.*

| Keys                      | Command                      |
| ------------------------- | ---------------------------- |
| `Ctrl` + `A`              | **Select all in view**       |
| `Ctrl` + `D`, or `Escape` | **Deselect**                 |
| `Ctrl` + `Shift` + `I`    | **Invert selection in view** |

### Selection slots

A font keeps ten stored selections, one per digit key. They hold glyphs, so they are off in the pair views.

| Keys                | Does                                         |
| ------------------- | -------------------------------------------- |
| `Ctrl` + `0` … `9`  | Stores the selection in that selection slot. |
| `0` … `9`           | Restores that selection slot.                |
| `Shift` + `0` … `9` | Adds that selection slot to the selection.   |

## Glyph

*What can be done to the selected glyphs.*

| Keys                   | Command                                                        |
| ---------------------- | -------------------------------------------------------------- |
| `Ctrl` + `Shift` + `N` | **Create empty glyphs**, for the selected slots that have none |
| `Ctrl` + `K`           | **Create components from decomposition**                       |
| `Ctrl` + `L`           | **Create ligature from selection**                             |
| `Ctrl` + `Shift` + `L` | **Create ligature with components**                            |
| `Enter`                | **Edit outline**                                               |
| `Ctrl` + `Shift` + `E` | **Edit in external editor**                                    |

## View

*Moving around the window.*

| Keys                                    | Command                                                |
| --------------------------------------- | ------------------------------------------------------ |
| `Ctrl` + `F`, or `Ctrl` + `G`           | **Find glyph**: puts the cursor in the search field    |
| `Ctrl` + `P`, or `Ctrl` + `Shift` + `P` | **Command palette**                                    |
| `Alt` + `←`                             | **Back**: the range, search and selection shown before |
| `Alt` + `→`                             | **Forward**                                            |
| `Ctrl` + `Tab`                          | **Next font**                                          |
| `Ctrl` + `Shift` + `Tab`                | **Previous font**                                      |
| `Ctrl` + `B`                            | **Toggle sidebar**                                     |
| `Ctrl` + `Alt` + `B`                    | **Toggle inspector**                                   |
| `Alt` + `1`                             | **Glyph browser**: the **Browse** panel                |
| `Alt` + `2`                             | **Text preview**                                       |
| `Alt` + `3`                             | **History**                                            |
| `Alt` + `4`                             | **Font info & metrics**: the **Font** panel            |
| `Ctrl` + `=`                            | **Bigger glyph cells**                                 |
| `Ctrl` + `-`                            | **Smaller glyph cells**                                |
| `Ctrl` + `Shift` + `=`                  | **Larger interface**                                   |
| `Ctrl` + `Shift` + `-`                  | **Smaller interface**                                  |
| `Ctrl` + `Shift` + `0`                  | **Actual interface size**                              |
| `F1`                                    | **Keyboard shortcuts**                                 |

The back and forward buttons on the side of a mouse run **Back** and **Forward**.

## The grid

*Selecting and creating, with the mouse and with the keyboard.*

| Input                                         | Does                                                                                           |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Click                                         | Selects the cell.                                                                              |
| `Ctrl` + click                                | Adds the cell to the selection, or removes it.                                                 |
| `Shift` + click                               | Selects a range.                                                                               |
| Drag on empty space                           | Selects a rectangle. With `Ctrl`, adds it to the selection.                                    |
| Arrow keys                                    | Move the selection. With `Shift`, extend it.                                                   |
| `Ctrl` + arrow keys, then `Space`             | Move the keyboard cursor without changing the selection, then add or remove the cell under it. |
| Right-click, the Menu key, or `Shift` + `F10` | Opens the menu of the selection.                                                               |
| Double-click a slot with no glyph             | Creates the glyph.                                                                             |
| Double-click a glyph                          | Opens it in the outline editor.                                                                |
| `Ctrl` + wheel                                | Resizes the cells.                                                                             |
| Drop an SVG file on a slot                    | Imports it into that glyph.                                                                    |

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-9910d0e60463de5a1e90cf2d813b22c3990040ac%2Fkeyboard-shortcuts-grid-cursor.png?alt=media" alt="STILL | id: keyboard-shortcuts-grid-cursor | SHOWS: The keyboard cursor on one slot while other slots stay selected | FRAME: Glyph grid with three separate slots selected. The keyboard cursor, moved there with Ctrl and the arrow keys, rests on a fourth slot that is not selected | CROP: region: three rows of the grid around the cursor | NEEDS: at least a dozen glyphs | SOURCE: Sample font, browser build | NOTE: The cursor ring only shows after keyboard navigation: reach the slot with Ctrl and arrow keys, never with a click"><figcaption><p>The ring is the cursor. Space would add this slot to the three already selected.</p></figcaption></figure>

## Number fields

*Every number field in the inspector and the Font panel.*

| Input                                                | Does                                                                                                                                                                                                                                  |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Drag the field sideways, or the label inside it      | Scrubs the value. `Shift` multiplies the step by 10, `Alt` by 0.1. The pointer is hidden for the length of the drag, and the whole drag is one step of the history. A field that is being typed in places the caret and selects text. |
| Click the field                                      | Gives it the focus and selects its content.                                                                                                                                                                                           |
| `↑`, `↓`, or the wheel while the field has the focus | Steps the value, with the same `Shift` and `Alt` multipliers.                                                                                                                                                                         |
| Type an expression                                   | The field computes it: `120*1.5`, `800-25`.                                                                                                                                                                                           |
| Empty a field that has a link button                 | Links it back to the font default.                                                                                                                                                                                                    |

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-d4dde0a558b3e4deda0512c98520cc1d4a3cb733%2Fkeyboard-shortcuts-field-expression.png?alt=media" alt="STILL | id: keyboard-shortcuts-field-expression | SHOWS: An expression typed into a number field, before it is committed | FRAME: One glyph selected. The Shift field of the Transforms section focused, with an expression such as 120*1.5 typed and not yet committed | CROP: region: the Spacing group of the Transforms section | NEEDS: a glyph with an imported outline | SOURCE: Sample font, browser build"><figcaption><p>Enter replaces the expression with its result.</p></figcaption></figure>

## Panel edges

*The edges between the sidebar, the viewport and the inspector.*

| Input                               | Does                                          |
| ----------------------------------- | --------------------------------------------- |
| Drag the edge                       | Resizes the panel.                            |
| Double-click the edge               | Resets the panel to its default width.        |
| `←`, `→` with the edge focused      | Resizes in steps. `Shift` takes larger steps. |
| `Home`, `End` with the edge focused | Narrowest and widest.                         |

## Components in the glyph view

*A component selected in the glyph view of the inspector.*

| Input              | Does                                                                       |
| ------------------ | -------------------------------------------------------------------------- |
| Drag the component | Moves it. With `Shift`, along one axis.                                    |
| Drag a corner      | Scales it from the component anchor. With `Alt`, from the opposite corner. |
| Drag the knob      | Rotates it around the rotation pivot. With `Shift`, in steps of 15°.       |
| Arrow keys         | Move it by 1 unit. With `Shift`, by 10.                                    |
| `Escape`           | Deselects it.                                                              |

## Outline editor

*Keys while the outline editor has the focus.*

| Input                                            | Does                                                                                                                                                                  |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Click, `Shift` + click, drag                     | Selects a point, adds a point to the selection, selects a rectangle.                                                                                                  |
| Drag the selection, or arrow keys                | Moves the selected points. While dragging, `Shift` keeps to one axis; with the arrow keys, `Shift` moves by 10.                                                       |
| Drag a handle                                    | Reshapes the curve. With `Alt`, breaks a smooth point so the two handles move apart.                                                                                  |
| Double-click the outline                         | Adds a point.                                                                                                                                                         |
| Double-click a point, or `Enter`                 | Switches it between a corner and a smooth point.                                                                                                                      |
| `Delete`, or `Backspace`                         | Deletes the selected points.                                                                                                                                          |
| `Ctrl` + `A`                                     | Selects every point.                                                                                                                                                  |
| `Ctrl` + `D`                                     | Deselects.                                                                                                                                                            |
| `Escape`                                         | Backs out one step at a time: out of a drag, out of the selection, then back to the grid.                                                                             |
| `C`                                              | Selects the whole contour.                                                                                                                                            |
| `R`                                              | Reverses the contour's direction.                                                                                                                                     |
| `T`                                              | Scales and rotates the selected points. While scaling, `Shift` keeps the proportions and `Alt` scales from the center. While rotating, `Shift` turns in steps of 15°. |
| `Ctrl` while dragging                            | Turns snapping off for that drag.                                                                                                                                     |
| Wheel, or `Ctrl` + `=` and `Ctrl` + `-`          | Zooms.                                                                                                                                                                |
| `Space` + drag, or a drag with the middle button | Pans.                                                                                                                                                                 |
| `F`                                              | Fits the glyph in the view.                                                                                                                                           |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://mkfont.gitbook.io/mkfont-docs/reference/keyboard-shortcuts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
