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
Intro
Until a method of basic configuration is decided upon, settings for Ki will be configured via the environment variables.
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 a
.
KI_EDITOR_KEYBOARD
For configuring keyboard layout, with the following possible values:
qwerty
(Default)dvorak
colemak
colemak_dh
colemak_dh_semi_quote
dvorak_iu