Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't use fancy cursors for non-vim people (#11010)
Conrad Irwinc833a7e662e9
diff --git a/crates/vim/src/editor_events.rs b/crates/vim/src/editor_events.rsindex ee5f4cde097..9ddcea38520 100644--- a/crates/vim/src/editor_events.rs+++ b/crates/vim/src/editor_events.rs@@ -42,6 +42,9 @@ fn focused(editor: View<Editor>, cx: &mut WindowContext) {fn blurred(editor: View<Editor>, cx: &mut WindowContext) {Vim::update(cx, |vim, cx| {+ if !vim.enabled {+ return;+ }if let Some(previous_editor) = vim.active_editor.clone() {vim.stop_recording_immediately(NormalBefore.boxed_clone());if previous_editor