diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2023-02-11 21:05:55 +0900 |
---|---|---|
committer | Ryooooooga <eial5q265e5@gmail.com> | 2023-02-11 21:19:47 +0900 |
commit | 39c20bc63454390d9c00bfb8536e44e04afd55ca (patch) | |
tree | df5f6b3fff76d170b3932fc4f5464e8c4e7b09b9 /pkg/gui/keybindings.go | |
parent | 823d95a8c65dfd2c97973bc29c947e09c6255fd4 (diff) |
chore: change to work `return-alt1` on all views
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -332,6 +332,12 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi 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), Modifier: gocui.ModNone, |