From d06d6d76468a338359b8718e905ebbc6f24c2326 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Feb 2023 19:29:45 +0530 Subject: [PATCH] Add the command that can be used to get the default config file --- docs/conf.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.rst b/docs/conf.rst index 87d3517d0..bec4c7e87 100644 --- a/docs/conf.rst +++ b/docs/conf.rst @@ -68,6 +68,11 @@ Sample kitty.conf pre-existing :file:`kitty.conf`, then that will be used instead, delete it to 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 ------------------------