mirror of https://github.com/helix-editor/helix
Keep editor from switching to normal mode when loading a Document (#11176)
parent
702a96d417
commit
6345b78409
|
@ -1544,7 +1544,9 @@ impl Editor {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.enter_normal_mode();
|
if !matches!(action, Action::Load) {
|
||||||
|
self.enter_normal_mode();
|
||||||
|
}
|
||||||
|
|
||||||
match action {
|
match action {
|
||||||
Action::Replace => {
|
Action::Replace => {
|
||||||
|
|
Loading…
Reference in New Issue