diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 0557833b..30678a42 100644 --- a/src/normal.c +++ b/src/normal.c @@ -6783,6 +6783,8 @@ nv_replace(cap) /* Visual mode "r" */ if (VIsual_active) { + if (got_int) + reset_VIsual(); nv_operator(cap); return; } @@ -7839,7 +7841,7 @@ nv_g_cmd(cap) else i = curwin->w_leftcol; /* Go to the middle of the screen line. When 'number' is on and lines - * are wrapping the middle can be more to the left.*/ + * are wrapping the middle can be more to the left. */ if (cap->nchar == 'm') i += (W_WIDTH(curwin) - curwin_col_off() + ((curwin->w_p_wrap && i > 0) |