diff options
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index b4ecb12299..0bf338947b 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2505,6 +2505,9 @@ int op_yank(oparg_T *oap, int deleting, int mess) 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 && !oap->block_mode |