On Sat, Feb 07, 2009 at 04:48:16AM +0100, Tony Mechelynck wrote:
> 
> On 07/02/09 04:10, Brian Carper wrote:
> > 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:
> 
> I think it's a feature. In Block Visual mode, the cursor is always at 
> one corner of the block, and its row and column are included in the 
> block (or rather, the part which is along the sides of the block-visual 
> area). So there is no ambiguity in having the coc highlight overlay the 
> block visual highlight, unless maybe the block is only one column wide. 

Whether it's a feature or a bug, the behavior is inconsistent.  It would
seem that either both 'cuc' and 'cul' should be enabled or neither
should.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui