On Friday, March 30, 2012 3:52:45 AM UTC-5, Ingo Karkat wrote:
> 
> While I see value in the proposed change, I prefer to keep the old behavior,
> too. It subtly reminds me that I'm editing a long physical line with 'wrap' 
> on,
> and helps me in choosing j/k or gj/gk for navigation. Since this hasn't been
> brought up since 'cursorline's introduction in Vim 7.0, I guess that the
> majority doesn't object to the current behavior, neither.
> 

I only ever use cursorline and cursorcolumn for three reasons:

1) most common: I don't immediately see the cursor and want to quickly find it. 
I have a mapping to toggle cursorcolumn and cursorline.
2) sometimes with f, F, t, and T, combined with ; and ,, it's hard to see where 
the cursor is currently. I have mappings for these commands which highlight the 
character in question in the current line and also set cursorline and 
cursorcolumn.
3) when editing tables, where I want to see a visual indication of the entire 
current line in the table

(1) and (2) are worthless on long wrapped lines. For (3) I always have 'nowrap' 
set anyway. I find cursorline with 'wrap' set to be almost completely useless. 
I certainly support making cursorline and cursorcolumn work on the *visual* 
line and column. What are they for, if not for locating the cursor?

I consider this a bug, but as long as there is an option which makes it act 
"correctly" I'll be happy. I haven't spoken up because I figured it TECHNICALLY 
does highlight the line I'm on, it's just not useful in that case. Others 
probably don't even use the option, because of the prominent warning in the 
help that it will slow down performance (is this really a concern on a modern 
machine?).

I see Ingo's point about an indication of a long wrapped line, but I've already 
mapped j/k to gj/gk, and the line numbers/showbreak is enough for me to see 
that I'm on a long line. As indicated, I rarely keep cursorline and 
cursorcolumn on for very long, so the extra indication won't work for me anyway.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui