@@ -560,6 +560,11 @@ pub fn command_mode(cx: &mut Context) {
560 ["o", path] => {
560 ["o", path] => {
561 editor.open(path.into(), executor);
561 editor.open(path.into(), executor);
564+ // TODO: non-blocking via save() command
565+ smol::block_on(editor.view_mut().doc.save());