User guide / Configuration

Settings reference

Development reference · View source

Every setting below is also on the [config] page, except workspace.state, workspace.state_anchor, mcp.default_grants, and the language-server definitions, which are file-only.

Editor settings

SettingDefaultValuesWhat it does
editor.grammarrunyterunyte (helix is an alias)Editing grammar. The alias is for compatibility, not a promise of full Helix behavior.
editor.line_numberstruebooleanShow line numbers beside editable buffers.
editor.relative_line_numbersfalsebooleanShow document-line distances from each pane’s cursor, keeping the cursor line absolute. Requires editor.line_numbers. Wrapped continuations keep their arrows; folded lines still count in distances.
editor.tab_width41–16Display and indentation width of a tab.
editor.indentspacesspaces, tabsStyle of new indentation. Tab inserts this style, Shift-Tab the other.
editor.smart_newlinetruebooleanAdd syntax indentation and continue Markdown lists on a new line. false keeps only the leading indent.
editor.auto_closefalsebooleanPair typed brackets and quotes in Insert mode.
editor.scroll_offset30–100Rows kept visible above and below the cursor.
editor.motion_repeat_multiplier21–10Motions per held-key repeat. 1 keeps terminal speed. See Held-key speed .
editor.directory_tree_width3312–240Preferred directory tree width in columns.
editor.show_hidden_filesfalsebooleanShow dotfiles in the explorer, finder, and workspace search. . toggles it in an explorer.
editor.explorer_sortnamename, modified, size, each also _descendingExplorer order. Directories always come first.
editor.explorer_detailsfalsebooleanShow ls -l style mode, owner, size, and time columns. ? toggles it in an explorer.
editor.soft_wrapfalsebooleanWrap long lines visually without changing the text.
editor.always_wrap_rendered_markdowntruebooleanAlways wrap rendered Markdown pages, including rendered scratchpads. When false, follow editor.soft_wrap. Does not affect Markdown source.
editor.render_whitespacefalsebooleanShow · for spaces, → for tabs, and ¬ for line endings.
editor.zen_width1001–1000Maximum text width while :zen is active.
editor.hard_wrap_width801–1000Width used by Space p w (hard wrap) and Space p r (reflow).
editor.scratch_markdowntruebooleanTreat the pathless scratch buffer as Markdown for Space p r and ?.
editor.trim_trailing_whitespacetruebooleanRemove spaces and tabs at line ends when saving.
editor.font_size158–48Native window font size in logical pixels. Read when a window opens; Ctrl-plus/minus change only the current window.
editor.mousetruebooleanCapture the mouse for selection, scrolling, and pane resizing. false keeps the terminal’s own text selection. Restart required.
editor.word_completiontruebooleanSuggest words already open elsewhere in the workspace.
editor.word_completion_minimum31–32Prefix length before word suggestions appear.
editor.fast_pane_keysfalsebooleanCtrl-h/j/k/l move between panes without the Ctrl-w prefix.
editor.selecting_motionstruebooleanw/b/e/W/B/E and f/t/F/T select what they cross, as in Helix. false moves a caret instead.
editor.auto_close_terminaltruebooleanForget terminal sessions and their output when the program exits. false retains future exited sessions for review in the Finder and Space t t.
editor.terminal_theme_colorstruebooleanUse the active theme for terminal ANSI colours 0–15. Applies immediately, including existing output.
editor.preview_theme_colorstruebooleanPaint :preview Markdown, data and source pages in the active theme’s colours. false keeps the light page. Applies immediately to open previews.
editor.command_mode_dimtruebooleanGray out pane text while a command prompt is open.

Terminal settings

SettingDefaultValuesWhat it does
terminal.scrollback_lines20000–100000History rows per terminal, excluding the visible screen. 0 disables history. Saving or reloading applies immediately to existing and future terminals; reductions discard oldest live history but preserve frozen review snapshots.

Review snapshots do not count toward the history limit. See Terminals for retention and memory behavior.

Workspace settings

SettingDefaultValuesWhat it does
modeideeditor, ide, muxThe mode of a launch with no --editor, --ide, or --mux. editor needs no workspace; mux makes a bare runyte start or reuse the project’s host. The deprecated workspace.mode (standalone, persistent) is still read, with a notification naming its replacement. Restart required.
workspace.session_stripautoauto, always, hiddenWhen to show the row of running persistent sessions. auto shows it when more than one is running.
workspace.idle_retirement_minutes00–43200Minutes a clean, unattached host stays alive. 0 keeps hosts running. Applies without restarting the host.
workspace.state.runytepathWhere the workspace keeps runtime state. workspace.root is an accepted alias. See Where workspace state lives .
workspace.state_anchorunsetprofile, local-app-dataWindows only. See Windows state anchor .

:session-stop stops a host explicitly, whatever the retirement interval.

Other settings

SettingDefaultValuesWhat it does
git.refresh_interval_seconds600–3600Bounds automatic Git refresh. 0 turns it off. See Automatic Git refresh .
notifications.history_limit501–1000Newest notifications kept in memory for the workspace.
lsp.enabletruebooleanAllow configured language servers to start. Restart required.
mcp.default_grantsnoneidentity: list of permissionsIdentities that may read in every workspace that has no grant or revocation of its own. The only permission is read; write is granted per workspace with :mcp. Earlier capability names are accepted; a list with both terminal_read and editor_context_read means read, and any other grants nothing and is reported at start. Read when a workspace starts. See Default grants .
lsp.<language>rust onlycommand, args, initialization_options, rootsA language server definition. See Language servers .
themeocean-darktheme nameThe active theme. See Themes .