Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | helix-view/src/editor.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 3eeb4830..50b6c931 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 => { |