Confirm completion on tab key as well as enter key

This commit is contained in:
Max Brunsfeld 2022-02-03 12:17:03 -08:00
parent 39152bc85f
commit 6e33f14218

View file

@ -146,6 +146,7 @@ pub fn init(cx: &mut MutableAppContext, path_openers: &mut Vec<Box<dyn PathOpene
Some("Editor && completing"),
),
Binding::new("tab", Tab, Some("Editor")),
Binding::new("tab", ConfirmCompletion(None), Some("Editor && completing")),
Binding::new("shift-tab", Outdent, Some("Editor")),
Binding::new("ctrl-shift-K", DeleteLine, Some("Editor")),
Binding::new(