Honor default_mode in NormalBefore (#29518)

Addresses
[this](https://github.com/zed-industries/zed/pull/28103#issuecomment-2832038415)
comment.

Release Notes:

- Improved default helix keybindings
This commit is contained in:
jneem
2025-04-28 08:51:06 -06:00
committed by GitHub
parent 2a0be48875
commit bf30beacc2
+1 -1
View File
@@ -36,7 +36,7 @@ impl Vim {
});
});
});
self.switch_mode(Mode::Normal, false, window, cx);
self.switch_mode(self.default_mode(cx), false, window, cx);
return;
}