Add the command that can be used to get the default config file

This commit is contained in:
Kovid Goyal 2023-02-03 19:29:45 +05:30
parent f1dc072045
commit d06d6d7646
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -68,6 +68,11 @@ Sample kitty.conf
pre-existing :file:`kitty.conf`, then that will be used instead, delete it to pre-existing :file:`kitty.conf`, then that will be used instead, delete it to
see the sample file. see the sample file.
A default configuration file can also be generated by running::
kitty +runpy 'from kitty.config import *; print(commented_out_default_config())'
This will print the commented out default config file to :file:`STDOUT`.
All mappable actions All mappable actions
------------------------ ------------------------