summaryrefslogtreecommitdiffstats
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/ops.c b/src/ops.c
index 78078c3424..31c23bfb1b 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -2888,7 +2888,18 @@ op_yank(oap, deleting, mess)
/* redisplay now, so message is not deleted */
update_topline_redraw();
if (yanklines == 1)
- MSG(_("1 line yanked"));
+ {
+#ifdef FEAT_VISUAL
+ if (oap->block_mode)
+ MSG(_("block of 1 line yanked"));
+ else
+#endif
+ MSG(_("1 line yanked"));
+ }
+#ifdef FEAT_VISUAL
+ else if (oap->block_mode)
+ smsg((char_u *)_("block of %ld lines yanked"), yanklines);
+#endif
else
smsg((char_u *)_("%ld lines yanked"), yanklines);
}