Where are all the valid configuration entries?
They are all members of the Config
struct in src/config/Config.zig.
Generally, the type of those options is defined in that file as well, so you can find out what kind of options are valid by navigating the code there.
Where are all the valid actions?
In the members of the Action enum in src/input/Binding.zig
Where are all the valid keys?
Modifiers are in the Mods enum, and the other keys are in the Key enum
in src/input/key.zig.
If your keyboard layout is not US, you may have to prefix some
your keys with physical:
to get your keybind to work properly.
For example:
keybind = ctrl+shift+physical:left_bracket=previous_tab
This is useful since some locales override these characters, and Ghostty does not handle them.
On the Turkish layout, the physical [ key is mapped to ğ, so it will not work unless you
annotate it as physical
. This is true for every layout that overrides [.