From 0fbde0592830cf5fdaf961f481d073164a1679e8 Mon Sep 17 00:00:00 2001 From: DerTeta Date: Sat, 11 Sep 2021 20:42:23 +0200 Subject: Add a menu item and keybinding to `}` to increase the context size --- pkg/config/user_config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/config') diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 09895f66d..5f747f85c 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -177,6 +177,7 @@ type KeybindingUniversalConfig struct { AppendNewline string `yaml:"appendNewline"` ExtrasMenu string `yaml:"extrasMenu"` ToggleWhitespaceInDiffView string `yaml:"toggleWhitespaceInDiffView"` + IncreaseContextInDiffView string `yaml:"increaseContextInDiffView"` } type KeybindingStatusConfig struct { @@ -438,6 +439,7 @@ func GetDefaultConfig() *UserConfig { AppendNewline: "", ExtrasMenu: "@", ToggleWhitespaceInDiffView: "", + IncreaseContextInDiffView: "}", }, Status: KeybindingStatusConfig{ CheckForUpdate: "u", -- cgit v1.2.3