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.
Font Family
Section titled “Font Family”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
Font Size
Section titled “Font Size”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
Line Height
Section titled “Line Height”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
Display
Section titled “Display”Formatting Toolbar
Section titled “Formatting Toolbar”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
Line Numbers
Section titled “Line Numbers”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
Line Wrapping
Section titled “Line Wrapping”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
Readable Line Length
Section titled “Readable Line Length”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
Highlight Active Line
Section titled “Highlight Active Line”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
Behavior
Section titled “Behavior”Auto-Pair Brackets
Section titled “Auto-Pair Brackets”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
Spell Check
Section titled “Spell Check”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
Vim Mode
Section titled “Vim Mode”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
Auto-Save Delay
Section titled “Auto-Save Delay”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).
| Value | Behavior |
|---|---|
| 0 | Disables auto-save entirely — you’ll need to save manually with Cmd+S / Ctrl+S |
| 500 | Saves 0.5 seconds after you stop typing |
| 1000 | Saves 1 second after you stop typing (default) |
| 5000 | Saves 5 seconds after you stop typing |
The allowed range is 0 to 10000ms.
Setting: editor.autoSaveDelay
Formatting
Section titled “Formatting”Tab Size
Section titled “Tab Size”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
Cursor
Section titled “Cursor”Cursor Style
Section titled “Cursor Style”Controls the visual shape of the cursor in the editor:
| Style | Description |
|---|---|
| Line | A thin vertical line (default). The standard cursor you see in most text editors. |
| Block | A full-character rectangle. Common in terminal emulators and Vim. |
| Underline | A horizontal line beneath the current character position. |
Setting: editor.cursorStyle
Cursor Blink
Section titled “Cursor Blink”Controls the blinking animation of the cursor:
| Option | Description |
|---|---|
| Blink | Standard on/off blinking (default) |
| Smooth | Fades in and out gradually |
| Expand | Grows and shrinks |
| Phase | Smooth sinusoidal fade |
| Off | Cursor is always visible, no animation |
Setting: editor.cursorBlink
Cursor Width
Section titled “Cursor Width”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