forked from aniani/vim
patch 7.4.847
Problem: "vi)d" may leave a character behind. Solution: Skip over multi-byte character. (Christian Brabandt)
This commit is contained in:
@@ -3799,7 +3799,7 @@ current_block(oap, count, include, what, other)
|
||||
if (VIsual_active)
|
||||
{
|
||||
if (*p_sel == 'e')
|
||||
++curwin->w_cursor.col;
|
||||
inc(&curwin->w_cursor);
|
||||
if (sol && gchar_cursor() != NUL)
|
||||
inc(&curwin->w_cursor); /* include the line break */
|
||||
VIsual = start_pos;
|
||||
|
||||
Reference in New Issue
Block a user