vim: Add Multi Replace mode in Vim (#8469)

For #4440, I've only added support for normal, if it's visual mode,
would we like this to delete the current selection row and enter insert
mode?

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Hans
2024-03-14 20:31:53 -06:00
committed by GitHub
co-authored by Conrad Irwin
parent 72d36d0213
commit e836a979a2
12 changed files with 584 additions and 16 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ where
cursor_positions.push(selection.start..selection.start);
}
}
Mode::Insert | Mode::Normal => {
Mode::Insert | Mode::Normal | Mode::Replace => {
let start = selection.start;
let mut end = start;
for _ in 0..count {