diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 3eeb4830e..50b6c9318 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -1544,7 +1544,9 @@ impl Editor { return; } - self.enter_normal_mode(); + if !matches!(action, Action::Load) { + self.enter_normal_mode(); + } match action { Action::Replace => {