Skip to content

Editor Settings

Ariv’s editor is built on CodeMirror 6 — a fast, extensible code editor that handles Markdown beautifully. Every setting below is available in Settings (Cmd+, on macOS, Ctrl+, on Windows) under the Editor section.

Set the font used in the editor. By default, Ariv uses your system’s monospace font, which varies by platform:

  • macOS: Menlo
  • Windows: Consolas

You can enter any font installed on your system. If the font isn’t found, Ariv falls back to the system default.

Setting: editor.fontFamily

Controls the size of text in the editor, in pixels. The default is 16px, and you can set it anywhere from 10px to 32px.

Setting: editor.fontSize

Controls the spacing between lines of text. The default is 1.6, which provides comfortable reading spacing. You can set this anywhere from 1.0 (tight, no extra space) to 3.0 (very open, double-spaced feel).

Setting: editor.lineHeight

A toolbar that appears above the editor with buttons for common Markdown formatting — bold, italic, headings, lists, links, and more. This is useful if you’re new to Markdown or prefer clicking over typing syntax.

Disabled by default. Power users tend to leave it off and use keyboard shortcuts instead.

Setting: editor.showToolbar

Show line numbers in the left gutter of the editor. Useful for referencing specific lines, especially when working with code-heavy notes.

Disabled by default.

Setting: editor.showLineNumbers

When enabled, long lines wrap to the next visual line instead of scrolling horizontally. Most people leave this on — horizontal scrolling in a text editor is rarely pleasant.

Enabled by default.

Setting: editor.lineWrapping

Limits the editor width to approximately 80 characters, centering the text in the available space. This prevents lines from stretching across ultra-wide monitors, which makes reading more comfortable.

Enabled by default.

Setting: editor.readableLineLength

Adds a subtle background highlight to the line your cursor is currently on. This makes it easy to track your position in a document, especially in longer notes.

Enabled by default.

Setting: editor.highlightActiveLine

Automatically inserts a closing bracket, parenthesis, or quote when you type the opening one. For example, typing ( inserts () and places your cursor between them.

This applies to: (), [], {}, "", “, and ''.

Enabled by default.

Setting: editor.autoPairBrackets

Enables your operating system’s built-in spell checker in the editor. Misspelled words appear with a red underline, and you can right-click for suggestions.

Enabled by default.

Setting: editor.spellcheck

Enables Vim keybindings in the editor. When active, the editor starts in Normal mode and supports standard Vim motions, operators, and modes (Normal, Insert, Visual).

Disabled by default. For details on what’s supported, see Vim Mode.

Setting: editor.vimMode

Ariv automatically saves your notes as you type. This setting controls how long Ariv waits after you stop typing before saving, in milliseconds. The default is 1000ms (1 second).

ValueBehavior
0Disables auto-save entirely — you’ll need to save manually with Cmd+S / Ctrl+S
500Saves 0.5 seconds after you stop typing
1000Saves 1 second after you stop typing (default)
5000Saves 5 seconds after you stop typing

The allowed range is 0 to 10000ms.

Setting: editor.autoSaveDelay

The number of spaces inserted when you press Tab. The default is 4 spaces, and you can set it from 1 to 8.

This also affects how existing tab characters are displayed in the editor.

Setting: editor.tabSize

Controls the visual shape of the cursor in the editor:

StyleDescription
LineA thin vertical line (default). The standard cursor you see in most text editors.
BlockA full-character rectangle. Common in terminal emulators and Vim.
UnderlineA horizontal line beneath the current character position.

Setting: editor.cursorStyle

Controls the blinking animation of the cursor:

OptionDescription
BlinkStandard on/off blinking (default)
SmoothFades in and out gradually
ExpandGrows and shrinks
PhaseSmooth sinusoidal fade
OffCursor is always visible, no animation

Setting: editor.cursorBlink

Controls the width of the cursor in pixels when using the Line cursor style. The default is 2px, and you can set it from 1px to 6px.

This setting has no effect when using Block or Underline cursor styles.

Setting: editor.cursorWidth


Related: Themes & Appearance — Customize the look of the interface | Vim Mode — Full guide to Vim keybindings in Ariv | Settings Reference — Complete list of every Ariv setting