> ## Documentation Index
> Fetch the complete documentation index at: https://ngquct-feat-721-compare-sync.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

Open **Settings > Editor** (`Cmd+,`). This tab holds the SQL editor toggles. The data grid, pagination, query result cap, and JSON viewer are on the [Data](/customization/data-settings) tab.

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-feat-721-compare-sync/Px1jOVnHwSdgRuFN/images/settings-editor.png?fit=max&auto=format&n=Px1jOVnHwSdgRuFN&q=85&s=9ca704e25983c29c2b0adf352be0e66e" alt="Editor settings" width="1560" height="960" data-path="images/settings-editor.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ngquct-feat-721-compare-sync/Px1jOVnHwSdgRuFN/images/settings-editor-dark.png?fit=max&auto=format&n=Px1jOVnHwSdgRuFN&q=85&s=29b3aaeb9b5ceec3c9a54e803731739d" 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       |                                                                                                                |
| Word wrap                         | Off      | Off means long lines scroll horizontally                                                                       |
| 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).
