Fix renaming sometimes not working in vim mode (#14320)
Disable vim key contexts during renaming, to fix renaming being interfered with vim commands. Release Notes: - Fixed renaming sometimes not working in vim mode [#14292](https://github.com/zed-industries/zed/issues/14292) [#11882](https://github.com/zed-industries/zed/issues/11882). - Fixed inline assistant sometimes not working in vim mode #11559 --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
76594ae5cd
commit
64a796d436
2 changed files with 8 additions and 0 deletions
|
@ -268,6 +268,7 @@ impl Vim {
|
|||
EditorEvent::Edited { .. } => {
|
||||
Vim::update(cx, |vim, cx| vim.transaction_ended(editor, cx))
|
||||
}
|
||||
EditorEvent::FocusedIn => Vim::update(cx, |vim, cx| vim.sync_vim_settings(cx)),
|
||||
_ => {}
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue