Helix — config.toml
We will go through configuration options to get us started using Helix.
This article is part of the Helix series.
The Helix configuration files are available in this repository.
In the Helix walkthrough article, we covered the essential features of Helix. In this article, we will go through the basics and cover more advanced configurations in future articles.
Check out this article for a quick introduction to Helix!
A Walkthrough on Helix — A Post-Modern Modal Text Editor
A walkthrough on the Helix editor.
Helix comes with sensible defaults. Unlike other editors like Vim or Emacs, only minimal configuration changes are needed for developers to be productive using it.
We will go through configuration options that developers may want to customize in this article.
To override the global configuration parameters, create a
config.toml file located in the config directory:
- Linux and Mac:
Helix also supports configuration at the workspace or project level, by using the
The following commands are related to the config file.
:config-opento open the user
:config-reloadto refresh the user config.
:config-open-workspaceto open the workspace
We can use the following commands to get, set, or toggle the configuration options.
:get-optionto get the current value of a config option.
:set-optionto set a config option at run-time.
:toggle-optionto toggle a boolean config option at run-time.