diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 14e5af444aa56f84dd0c1ccdcf5f80f0a2f2918f..ada5e353e50a673181156af9fc6e4a537021ef84 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -89,7 +89,10 @@ impl SelectionLayout { } // any vim visual mode (including line mode) - if cursor_shape == CursorShape::Block && !range.is_empty() && !selection.reversed { + if (cursor_shape == CursorShape::Block || cursor_shape == CursorShape::Hollow) + && !range.is_empty() + && !selection.reversed + { if head.column() > 0 { head = map.clip_point(DisplayPoint::new(head.row(), head.column() - 1), Bias::Left) } else if head.row() > 0 && head != map.max_point() {