Set keybindings to non-vim mode when vim is disabled (#24971)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
74d1a652f6
commit
2400fb4d9e
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ impl VimGlobals {
|
||||||
interceptor.set(Box::new(command_interceptor));
|
interceptor.set(Box::new(command_interceptor));
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
KeyBinding::set_vim_mode(cx, true);
|
KeyBinding::set_vim_mode(cx, false);
|
||||||
*Vim::globals(cx) = VimGlobals::default();
|
*Vim::globals(cx) = VimGlobals::default();
|
||||||
CommandPaletteInterceptor::update_global(cx, |interceptor, _| {
|
CommandPaletteInterceptor::update_global(cx, |interceptor, _| {
|
||||||
interceptor.clear();
|
interceptor.clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue