Tony Mechelynck
unread,Sep 25, 2016, 5:35:21 PM9/25/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
IMHO this is not a bug, just a quirk, maybe even a feature.
In diff mode (or maybe whenever 'scrollbind' is set?), then in the
windows other that the current one, the CursorColumn highlight doesn't
move, but the status line follows the cursor movement in the current
window, as follows:
%c ("column number" i.e. byte-of-line) is equal to the current
window's %c even if the line in the non-current window is shorter than
that
%V (virtual column number [i.e. screen cell abscissa] if different
from %c) is always 1, thus not displayed when in column 1
%B (character value in hex) is the value of the character at that
column, or zero if beyond the end of the line
Possibly others which are not part of my 'statusline' setting.
As expected, in "ordinary" (non-scrollbound) windows, cursor movement
does not influence other windows' status line contents.
Tested in both GTK3 GUI and console, in Vim 8.0.12 Huge build. Not
tested on empty lines.
Best regards,
Tony.