summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorDerTeta <derteta@gmx.de>2021-09-11 20:42:23 +0200
committerJesse Duffield <jessedduffield@gmail.com>2021-12-06 22:37:28 +1100
commit0fbde0592830cf5fdaf961f481d073164a1679e8 (patch)
treec1cf215ff458006943908d9e2719ba14f5d15a5e /pkg/config
parentba844c18a5cad4a268ef0ebf03b2b85f6bfe0b92 (diff)
Add a menu item and keybinding to `}` to increase the context size
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 2 insertions, 0 deletions
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: "<a-enter>",
ExtrasMenu: "@",
ToggleWhitespaceInDiffView: "<c-w>",
+ IncreaseContextInDiffView: "}",
},
Status: KeybindingStatusConfig{
CheckForUpdate: "u",