When you have cursorcolumn set and you go into Visual Block mode, the
background highlighting for cursorcolumn overrides the background
highlighting for visual mode. This makes it difficult to see what's
selected in the column containing the cursor (especially if you move
the cursor up/down before moving it left/right).
It seems like entering Visual mode should disable the highlighting for
cursorcolumn, similarly to how it disables the highlighting for
cursorline.
e.g. something vaguely similar to (but probably not exactly) this:
Index: src/screen.c
===================================================================
--- src/screen.c (revision 1356)
+++ src/screen.c (working copy)
@@ -4557,7 +4557,8 @@
* highlight the cursor position itself. */
if (wp->w_p_cuc && vcol == (long)wp->w_virtcol
&& lnum != wp->w_cursor.lnum
- && draw_state == WL_LINE)
+ && draw_state == WL_LINE
+ && !VIsual_active)
{
vcol_save_attr = char_attr;
char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUC));
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---