diff --git a/crates/vim/src/editor_events.rs b/crates/vim/src/editor_events.rs index 9ddcea3852..b1aa44f848 100644 --- a/crates/vim/src/editor_events.rs +++ b/crates/vim/src/editor_events.rs @@ -55,7 +55,9 @@ fn blurred(editor: View, cx: &mut WindowContext) { } } editor.update(cx, |editor, cx| { - editor.set_cursor_shape(language::CursorShape::Hollow, cx); + if editor.use_modal_editing() { + editor.set_cursor_shape(language::CursorShape::Hollow, cx); + } }); }); }