diff --git a/crates/vim/src/editor_events.rs b/crates/vim/src/editor_events.rs index 9ddcea38520c057ff81d2292ca3326296169b861..b1aa44f8481b60d6010e39557b9b700432b22056 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); + } }); }); }