From 39c20bc63454390d9c00bfb8536e44e04afd55ca Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Sat, 11 Feb 2023 21:05:55 +0900 Subject: chore: change to work `return-alt1` on all views --- pkg/gui/keybindings.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/gui/keybindings.go') diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 572fa4594..35623b847 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -331,6 +331,12 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Modifier: gocui.ModNone, Handler: self.handleSearchEscape, }, + { + ViewName: "search", + Key: opts.GetKey(opts.Config.Universal.ReturnAlt1), + Modifier: gocui.ModNone, + Handler: self.handleSearchEscape, + }, { ViewName: "confirmation", Key: opts.GetKey(opts.Config.Universal.PrevItem), -- cgit v1.2.3