> ## Documentation Index
> Fetch the complete documentation index at: https://ngquct-docs-fix-500-query-results.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Editor Settings

> SQL editor, 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.

Editor fonts are per-theme. Edit them on the theme's Fonts tab under [Appearance](/customization/appearance).

<Frame caption="Editor settings">
  <img className="block dark:hidden" src="https://mintcdn.com/ngquct-docs-fix-500-query-results/HJY892UtvXUv1PFn/images/settings-editor.png?fit=max&auto=format&n=HJY892UtvXUv1PFn&q=85&s=a98f7b7663b28d637fb96b96bad604c7" alt="Editor settings" width="1560" height="960" data-path="images/settings-editor.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ngquct-docs-fix-500-query-results/HJY892UtvXUv1PFn/images/settings-editor-dark.png?fit=max&auto=format&n=HJY892UtvXUv1PFn&q=85&s=4009bca056473ef05bac0699117e9a0e" alt="Editor settings" width="1560" height="960" data-path="images/settings-editor-dark.png" />
</Frame>

## SQL editor

| Setting                           | Default  | Notes                                                                                                               |
| --------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| Show line numbers                 | On       |                                                                                                                     |
| 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) |
| Word wrap                         | Off      | Off means long lines scroll horizontally                                                                            |
| 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                                                    |
| 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).
