1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

refactor: explicitly add alternative keybinding

This commit is contained in:
Mukhlis Akbarrudin 2022-04-14 05:05:33 +07:00 committed by Jesse Duffield
parent af5f4af6c0
commit 21336d3aa2

View File

@ -104,14 +104,14 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
ViewName: "",
Key: opts.GetKey(opts.Config.Universal.ScrollUpMain),
Handler: self.scrollUpMain,
Alternative: "fn+up",
Alternative: "fn+up/shift+k",
Description: self.c.Tr.LcScrollUpMainPanel,
},
{
ViewName: "",
Key: opts.GetKey(opts.Config.Universal.ScrollDownMain),
Handler: self.scrollDownMain,
Alternative: "fn+down",
Alternative: "fn+down/shift+j",
Description: self.c.Tr.LcScrollDownMainPanel,
},
{