summaryrefslogtreecommitdiffstats
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ops.c b/src/ops.c
index 0348353fc9..f5bf0f8f30 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -3150,6 +3150,8 @@ op_yank(oap, deleting, mess)
vim_free(y_current->y_array);
y_current = curr;
}
+ if (curwin->w_p_rnu)
+ redraw_later(SOME_VALID); /* cursor moved to start */
if (mess) /* Display message about yank? */
{
if (yanktype == MCHAR