diff --git a/docs/Config.md b/docs/Config.md index 26fa2efb6..03a29ff18 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -166,7 +166,7 @@ gui: showListFooter: true # If true, display the files in the file views as a tree. If false, display the files as a flat list. - # This can be toggled from within Lazygit with the '~' key, but that will not change the default. + # This can be toggled from within Lazygit with the '`' key, but that will not change the default. showFileTree: true # If true, show the number of lines changed per file in the Files view diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 169b67c40..9fea5ea64 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -114,7 +114,7 @@ type GuiConfig struct { // If true, show the '5 of 20' footer at the bottom of list views ShowListFooter bool `yaml:"showListFooter"` // If true, display the files in the file views as a tree. If false, display the files as a flat list. - // This can be toggled from within Lazygit with the '~' key, but that will not change the default. + // This can be toggled from within Lazygit with the '`' key, but that will not change the default. ShowFileTree bool `yaml:"showFileTree"` // If true, show the number of lines changed per file in the Files view ShowNumstatInFilesView bool `yaml:"showNumstatInFilesView"` diff --git a/schema/config.json b/schema/config.json index 492f923e0..a7524eb77 100644 --- a/schema/config.json +++ b/schema/config.json @@ -302,7 +302,7 @@ }, "showFileTree": { "type": "boolean", - "description": "If true, display the files in the file views as a tree. If false, display the files as a flat list.\nThis can be toggled from within Lazygit with the '~' key, but that will not change the default.", + "description": "If true, display the files in the file views as a tree. If false, display the files as a flat list.\nThis can be toggled from within Lazygit with the '`' key, but that will not change the default.", "default": true }, "showNumstatInFilesView": {