Step 4 of 5

The config file

The config file

Settings you want every time live in a single file, config.toml, and Helix can edit it itself:

  • :config-open opens the file in the editor
  • :w saves it like any other buffer
  • :config-reload re-reads it, so the change applies without restarting

The format is TOML: a [section] header followed by key = value lines. Editor options go under [editor], and theme = "..." sits on its own at the very top, above any section.

Yours is short. This site boots Helix with mouse = false so that clicking the editor to focus it never moves your cursor — leave that one where it is. If you kept a theme on the previous step, it’s already there too, as the first line.

Work through the checklist below: open the file, add a setting, save it, then reload.

  1. Open your config with :config-open Type :config-open and hit Enter — the editor switches to config.toml.
  2. Add cursorline = true under [editor] Press ge, open a line below mouse = false with o, type cursorline = true, hit Escape, then x to select it.
  3. Save it with :w Type :w and hit Enter — the statusline confirms the write.
  4. Apply it with :config-reload Type :config-reload and hit Enter — the cursor line lights up.
Open your config with :config-open Type :config-open and hit Enter — the editor switches to config.toml.

Next: Add cursorline = true under [editor]

Loading editor…