In visual mode, the message display seems fixed:
VISUAL
: it contains either the number of characters selected or the number of lines;VISUAL LINE
: contains the number of lines;VISUAL BLOCK
: contains the dimensions of the selected area (rows × columns).
Can this be customized and how?
My goal is to run analysis functions on the selected
text targeting mainly VISUAL
mode: counting characters,
line widths etc. Of course, one could filter the selection
by running a function on it but I’d like the information
to be updated live and conveniently located in the message
line.
EDIT: The code that handles the behavior in question doesn’t appear to be configurable.