diff options
author | DerTeta <derteta@gmx.de> | 2021-09-11 20:42:23 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-06 22:37:28 +1100 |
commit | 0fbde0592830cf5fdaf961f481d073164a1679e8 (patch) | |
tree | c1cf215ff458006943908d9e2719ba14f5d15a5e /pkg/gui/keybindings.go | |
parent | ba844c18a5cad4a268ef0ebf03b2b85f6bfe0b92 (diff) |
Add a menu item and keybinding to `}` to increase the context size
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 232708b9b..65bd5df42 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1771,6 +1771,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.ToggleWhitespaceInDiffView, }, { + ViewName: "", + Key: gui.getKey(config.Universal.IncreaseContextInDiffView), + Handler: gui.IncreaseContextInDiffView, + Description: gui.Tr.IncreaseContextInDiffView, + }, + { ViewName: "extras", Key: gocui.MouseWheelUp, Handler: gui.scrollUpExtra, |