Make vim visual block work better

This commit is contained in:
Conrad Irwin 2023-10-10 08:53:30 -06:00
parent ab050d1890
commit cb76b2a6ad
10 changed files with 85 additions and 32 deletions

View file

@ -568,7 +568,6 @@ fn up_down_buffer_rows(
let (goal_wrap, goal_x) = match goal {
SelectionGoal::WrappedHorizontalPosition((row, x)) => (row, x),
SelectionGoal::WrappedHorizontalRange { end: (row, x), .. } => (row, x),
SelectionGoal::HorizontalRange { end, .. } => (select_nth_wrapped_row, end),
SelectionGoal::HorizontalPosition(x) => (select_nth_wrapped_row, x),
_ => {