1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Add a menu item and keybinding to } to increase the context size

This commit is contained in:
DerTeta
2021-09-11 20:42:23 +02:00
committed by Jesse Duffield
parent ba844c18a5
commit 0fbde05928
4 changed files with 11 additions and 0 deletions

View File

@ -1770,6 +1770,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.toggleWhitespaceInDiffView,
Description: gui.Tr.ToggleWhitespaceInDiffView,
},
{
ViewName: "",
Key: gui.getKey(config.Universal.IncreaseContextInDiffView),
Handler: gui.IncreaseContextInDiffView,
Description: gui.Tr.IncreaseContextInDiffView,
},
{
ViewName: "extras",
Key: gocui.MouseWheelUp,