1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-12-01 22:52:01 +02:00

Add a menu entry and keybinding to { for decreasing the context size

This commit is contained in:
DerTeta
2021-09-11 19:35:17 +02:00
committed by Jesse Duffield
parent 0fbde05928
commit f7ffbbd72a
4 changed files with 11 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ type KeybindingUniversalConfig struct {
ExtrasMenu string `yaml:"extrasMenu"`
ToggleWhitespaceInDiffView string `yaml:"toggleWhitespaceInDiffView"`
IncreaseContextInDiffView string `yaml:"increaseContextInDiffView"`
DecreaseContextInDiffView string `yaml:"decreaseContextInDiffView"`
}
type KeybindingStatusConfig struct {
@@ -440,6 +441,7 @@ func GetDefaultConfig() *UserConfig {
ExtrasMenu: "@",
ToggleWhitespaceInDiffView: "<c-w>",
IncreaseContextInDiffView: "}",
DecreaseContextInDiffView: "{",
},
Status: KeybindingStatusConfig{
CheckForUpdate: "u",