mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Move the "Focus main view" command to the global section of the keybindings menu
This commit is contained in:
@@ -61,7 +61,7 @@ func (self *OptionsMenuAction) getBindings(context types.Context) ([]*types.Bind
|
||||
|
||||
for _, binding := range bindings {
|
||||
if binding.Description != "" {
|
||||
if binding.ViewName == "" {
|
||||
if binding.ViewName == "" || binding.Tag == "global" {
|
||||
bindingsGlobal = append(bindingsGlobal, binding)
|
||||
} else if binding.ViewName == context.GetViewName() {
|
||||
if binding.Tag == "navigation" {
|
||||
|
||||
Reference in New Issue
Block a user