1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03: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

@ -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,