Configurations
At the moment, configuration files are not supported, because I'm in favor of compile-time configuration 1, for the following reasons:
- Easier to update
- Running with incompatible configurations is impossible 2
- Configuration as code
- Free type-checking
- Free formatting3
- Ability to reduce duplications using functions
- Easy backup (fork Ki-editor and push your modified config)
However, I'm open to suggestions, I might even create a new language for that.
Files for configurations
Type | Path |
---|---|
Languages | shared/src/languages.rs |
Environment variables for configurations
Until a method of basic configuration is decided upon, the theme for Ki can be configured via the environment variable
KI_EDITOR_THEME
. The theme defaults to "VS Code (Light)". You can find a list of known themes by launching ki
and
using the Pick Theme option, SPACE t
.