You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, running ghostty +show-config prints all the "changes-only" keys in the configuration. While helpful, this can be inconvenient if you're only interested in the value of a specific key.
Request
It would be beneficial to have more granular control over what configuration information is displayed. I propose the following:
Ability to specify a key: Allow users to specify a single configuration key to display its value
Option to show default values: Add the --default flag to display the default value of a given key
Example
# Show the current value of the 'font-family' key
ghostty +show-config font-family
# Show the default value of the 'font-size' key
ghostty +show-config font-size --default
Benefits
Usability: Makes it easier to quickly find the value of a specific configuration option
Debugging: Helps users identify discrepancies between their current configuration and the default settings
Clarity: Provides a more concise and focused output when inspecting configuration values
The text was updated successfully, but these errors were encountered:
I like the idea of being able to show the details for a single configuration key (or maybe also a list/pattern).
I was actually looking for something similar recently when I was considering adding a "look up the documentation for the configuration key under the cursor" command to our bundled vim plugin. This would make it pretty easy to implement that.
Current Behavior
Currently, running
ghostty +show-config
prints all the "changes-only" keys in the configuration. While helpful, this can be inconvenient if you're only interested in the value of a specific key.Request
It would be beneficial to have more granular control over what configuration information is displayed. I propose the following:
--default
flag to display the default value of a given keyExample
Benefits
The text was updated successfully, but these errors were encountered: