From f7ffbbd72a6281b73b68d939b25f98df35296427 Mon Sep 17 00:00:00 2001 From: DerTeta Date: Sat, 11 Sep 2021 19:35:17 +0200 Subject: Add a menu entry and keybinding to `{` for decreasing the context size --- pkg/gui/keybindings.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/gui') diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 65bd5df42..d9bf2dd69 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1776,6 +1776,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Handler: gui.IncreaseContextInDiffView, Description: gui.Tr.IncreaseContextInDiffView, }, + { + ViewName: "", + Key: gui.getKey(config.Universal.DecreaseContextInDiffView), + Handler: gui.DecreaseContextInDiffView, + Description: gui.Tr.DecreaseContextInDiffView, + }, { ViewName: "extras", Key: gocui.MouseWheelUp, -- cgit v1.2.3