1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-11-06 22:44:18 -05:00

Switch to TOML configuration format

This switches Alacritty's default configuration format from yaml to
toml. While yaml is still supported, it is done by converting it to toml
and should be removed entirely in the future.

All existing features were persisted based on my testing. Behavior
should not change much, though `--option` might have slightly different
behavior since the entire line is not interpreted as one line of toml.

A new `alacritty migrate` subcommand has been added which allows
automatic migration from yaml to toml. This also could be used as a
facility to automatically fix configuration file changes in the future.

Closes #6592.
This commit is contained in:
Christian Duerr 2023-06-12 02:23:41 +02:00 committed by GitHub
parent ea2c39e65d
commit bd4906722a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 2106 additions and 1236 deletions

View file

@ -14,8 +14,8 @@ opening URLs with the keyboard. By default you can launch it using
### Motion
The cursor motions are setup by default to mimic vi, however they are fully
configurable. If you don't like vi's bindings, take a look at the [configuration
file] to change the various movements.
configurable. If you don't like vi's bindings, take a look at the [onfiguration
file to change the various movements.
### Selection
@ -77,8 +77,6 @@ file. If an application captures your mouse clicks, which is indicated by a
change in mouse cursor shape, you're required to hold <kbd>Shift</kbd> to bypass
that.
[configuration file]: ../alacritty.yml
## Multi-Window
Alacritty supports running multiple terminal emulators from the same Alacritty