> ## Documentation Index
> Fetch the complete documentation index at: https://ngquct-refactor-theme-settings-panes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Editor Settings

> SQL editor font, Vim mode, line numbers, indentation, and query parameter settings

**Settings > Editor** covers typing and how SQL is displayed. Grid, pagination, result cap and JSON viewer settings are on the [Data](/customization/data-settings) tab instead.

The font here is set per Mac, not per theme, and is not synced.

<Frame caption="Editor settings">
  <img className="block dark:hidden" src="https://mintcdn.com/ngquct-refactor-theme-settings-panes/f3oj6UW1nTzcs0lJ/images/settings-editor.png?fit=max&auto=format&n=f3oj6UW1nTzcs0lJ&q=85&s=81c69ca71c522b15c46cc7728df5cb82" alt="Editor settings" width="1560" height="960" data-path="images/settings-editor.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ngquct-refactor-theme-settings-panes/f3oj6UW1nTzcs0lJ/images/settings-editor-dark.png?fit=max&auto=format&n=f3oj6UW1nTzcs0lJ&q=85&s=3de3da0f16479aa9bf449634cfa6f639" alt="Editor settings" width="1560" height="960" data-path="images/settings-editor-dark.png" />
</Frame>

## Font

| Setting     | Default            | Applies to                                                                        |
| ----------- | ------------------ | --------------------------------------------------------------------------------- |
| Editor Font | System Mono, 13 pt | SQL editor, the JSON viewer's Text mode, and the DDL, trigger and import previews |

The picker lists the monospaced families installed on your Mac, at 10 to 24 pt. `Cmd+=` and `Cmd+-` change the size over the same range.

## Display

| Setting                     | Default | Notes                                                                                                               |
| --------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
| Show line numbers           | On      | Turning this off also hides the per-statement run button                                                            |
| Highlight current line      | On      |                                                                                                                     |
| Highlight current statement | On      | A faint band behind the statement the cursor is in. See [Statement markers](/features/sql-editor#statement-markers) |
| Show invisible characters   | Off     | See [Invisible characters](/features/sql-editor#invisible-characters)                                               |
| Word wrap                   | Off     | Off means long lines scroll horizontally                                                                            |

## Gutter

| Setting                          | Default | Notes                                                                                   |
| -------------------------------- | ------- | --------------------------------------------------------------------------------------- |
| Code folding                     | On      | Shows the fold ribbon in the gutter. See [Code Folding](/features/code-folding)         |
| Run button beside each statement | On      | Gutter run buttons, revealed when the pointer is over the gutter. Needs line numbers on |

## Editing

| Setting                           | Default  | Notes                                                                                                          |
| --------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| Tab width                         | 4 spaces | 2, 4, or 8                                                                                                     |
| Auto-uppercase keywords           | Off      | Uppercases SQL keywords on word boundaries. Strings, comments, and quoted identifiers are untouched            |
| Query parameters (`:name` syntax) | On       | Detects `:name` placeholders and shows the parameter panel. See [Query Parameters](/features/query-parameters) |
| Vim mode                          | Off      | Modal editing in the SQL editor. See [Vim Mode](/features/vim-mode)                                            |

Autocomplete is always on; see [Autocomplete](/features/autocomplete). Editor shortcuts are listed and customized on [Keyboard Shortcuts](/features/keyboard-shortcuts).
