mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-27 00:51:18 +02:00
Add alternatives for scroll actions to context map
This commit is contained in:
committed by
Jesse Duffield
parent
97f060d38d
commit
e38d9d5f22
docs/keybindings
pkg/gui
scripts
@ -99,7 +99,7 @@ func getBindingSections(mApp *app.App) []*bindingSection {
|
||||
}
|
||||
|
||||
func addBinding(title string, bindingSections []*bindingSection, binding *gui.Binding) []*bindingSection {
|
||||
if binding.Description == "" {
|
||||
if binding.Description == "" && binding.Alternative == "" {
|
||||
return bindingSections
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user