Skip to content

Commit

Permalink
Set keybindings to non-vim mode when vim is disabled (#24971)
Browse files Browse the repository at this point in the history
Closes #ISSUE

Release Notes:

- N/A
  • Loading branch information
ConradIrwin authored Feb 16, 2025
1 parent 74d1a65 commit 2400fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/vim/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2400fb4

Please sign in to comment.