-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): generate default template when config file is not found
Closes #3203
- Loading branch information
Showing
2 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This is the configuration file for Ghostty. | ||
# | ||
# This template file has been automatically created at path | ||
# {[path]s} | ||
# since Ghostty couldn't find any existing config files on your system. | ||
# | ||
# The template does not set any default options, as Ghostty follows | ||
# a zero-config philosophy: users should only need to manually set a few | ||
# options, and they should be fully aware of what each option does. | ||
# | ||
# Run `ghostty +show-config --default --docs` to view a list of | ||
# all available config options and their default values. | ||
# | ||
# Additionally, each config option is also explained in detail | ||
# on Ghostty's website, at https://ghostty.org/docs/config. | ||
|
||
# Config syntax crash course | ||
# ========================== | ||
# # The config file consists of simple key-value pairs, | ||
# # separated by equals signs. | ||
# font-family = Iosevka | ||
# window-padding-x = 2 | ||
# | ||
# # Spacing around the equals sign does not matter. | ||
# # All of these are identical: | ||
# key=value | ||
# key= value | ||
# key =value | ||
# key = value | ||
# | ||
# # Any line beginning with a # is a comment. It's not possible to put | ||
# # a comment after a config option, since it would be interpreted as a | ||
# # part of the value. For example, this will have a value of "#123abc": | ||
# background = #123abc | ||
# | ||
# # Empty values are used to reset config keys to default. | ||
# key = | ||
# | ||
# # Some config options have unique syntaxes for their value, | ||
# # which is explained in the docs for that config option. | ||
# # Just for example: | ||
# resize-overlay-duration = 4s 200ms |