diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 7a551bca6..4c0d50e52 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -684,6 +684,7 @@ func GetDefaultConfig() *UserConfig { CommandLogSize: 8, SplitDiff: "auto", SkipRewordInEditorWarning: false, + WindowSize: "normal", Border: "rounded", AnimateExplosion: true, PortraitMode: "auto", diff --git a/schema/config.json b/schema/config.json index 3e8bc7c80..556ce4607 100644 --- a/schema/config.json +++ b/schema/config.json @@ -341,7 +341,8 @@ "half", "full" ], - "description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'" + "description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'", + "default": "normal" }, "border": { "type": "string",