Set keybindings to non-vim mode when vim is disabled (#24971)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2025-02-16 08:19:03 -07:00 committed by GitHub
parent 74d1a652f6
commit 2400fb4d9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,7 +225,7 @@ impl VimGlobals {
interceptor.set(Box::new(command_interceptor));
});
} else {
KeyBinding::set_vim_mode(cx, true);
KeyBinding::set_vim_mode(cx, false);
*Vim::globals(cx) = VimGlobals::default();
CommandPaletteInterceptor::update_global(cx, |interceptor, _| {
interceptor.clear();