This is a small thing, but it still annoys me. When I select at least 3 lines with Visual line mode, and then yank them, I get a confirmation: n lines yanked appears at the bottom of my screen. However, if I yank just 1 or 2 lines, no such thing happens.

The same thing happens with v and Ctrl-v, or something lie y} where these confirmations only appear if the selection is spread over at least 3 lines.

Is there a way to turn on these confirmations, now matter how much I yank?

1 Answer 1


You are looking for the 'report' option:

'report'        number  (default 2)
    Threshold for reporting number of lines changed.  When the number of
    changed lines is more than 'report' a message will be given for most
    ":" commands.  If you want it always, set 'report' to 0.
    For the ":substitute" command the number of substitutions is used
    instead of the number of lines.

This should solve your issue:

:set report=0


I believe there is no built-in option to issue messages for changes smaller than a line -- you could check the documentation or use the :options command (specially the "messages and info" section). Maybe issuing a message for every change would be distracting for most people.

You will probably need to overwrite the y operator to include your custom messages, similar to the example at :help :map-operator.

  • While this partially helps, it doesn't give a confirmation for vly, or for y$ or y} when the paragraph ends on that line. Oct 25, 2016 at 10:33
  • @MeesdeVries I updated the answer, I hope it helps.
    – mMontu
    Oct 25, 2016 at 11:46
  • thank you for the more detailed answer. The annoyance is too small for so much work, but at least it is satisfying (in its way) to know no simple solution exists. :-) Oct 25, 2016 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.