@@ -1,4 +1,5 @@
11use crate::{
2+ alt,
23 compositor::{Component, Compositor, Context, Event, EventResult},
34 ctrl, key, shift,
45 ui::{self, fuzzy_match::FuzzyQuery, EditorView},
@@ -619,6 +620,11 @@ impl<T: Item + 'static> Component for Picker<T> {
619620 key!(Esc) | ctrl!('c') => {
620621 return close_fn;
621622 }
623+ alt!(Enter) => {
624+ if let Some(option) = self.selection() {
625+ (self.callback_fn)(cx, option, Action::Load);
626+ }
627+ }
622628 key!(Enter) => {
623629 if let Some(option) = self.selection() {
624630 (self.callback_fn)(cx, option, Action::Replace);