mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1084
Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong numbers. Solution: Append right size to the redo buffer. (Ozaki Kiichi)
This commit is contained in:
@@ -3632,7 +3632,7 @@ prep_redo_visual(cap)
|
||||
else if (curbuf->b_visual.vi_end.col > curbuf->b_visual.vi_start.col)
|
||||
{
|
||||
AppendNumberToRedobuff(curbuf->b_visual.vi_end.col
|
||||
- curbuf->b_visual.vi_start.col - 1);
|
||||
- curbuf->b_visual.vi_start.col);
|
||||
AppendCharToRedobuff(' ');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user