diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 9de52928..d0776822 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2241,8 +2241,8 @@ fn reveal_current_file(cx: &mut Context) { None => { editor.explorer = Some(overlayed(ui::Explorer::new(cx)?)); let explorer = editor.explorer.as_mut().unwrap(); - explorer.content.reveal_current_file(cx)?; explorer.content.focus(); + explorer.content.reveal_current_file(cx)?; Ok(()) } })()