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 21:51:06 +07:00 committed by GitHub
parent 2a0be48875
commit bf30beacc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}