On 2012-03-29, Christian Brabandt wrote:
> Bram,
> 
> On Mi, 28 Mär 2012, Abu Yoav wrote:
> 
> [...]
> > I am editing a text file (latex). I prefer that each paragraph be a
> > long line, and that vim wrap the text. That's the usual behaviour, and
> > that works fine. An option that seems very helpful is cursorline, so I
> > set it (":set cul"). However, this does not do what I want. Namely,
> > instead of highlighting the *visual* line I am on, it highlights the
> > whole paragraph. Is there any way to highlight only the current visual
> > line I am on? Again, a workaround would be to instruct vim to have
> > lines of at most 80 characters (say), but I don't want that.
> 
> The help for 'cursorline' says:
> 
> ,----
> |         Highlight the screen line of the cursor with CursorLine
> `----
> 
> While 'cul' has always been highlighting complete lines. Do you think, 
> this would warrant a new option, that changes 'cul' to only highlight 
> screen lines or change the option 'cul' to a string option, that can be 
> set to 'screen' or 'line'?
> 
> This might be helpful for long lines (e.g. when editing csv files and 
> wrap is set).
> 
> If not, the documentation should be updated.

Or declare it a bug and fix the behavior to match the documentation.

Regards,
Gary

-- 
You received this message from the "vim_use" 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

Reply via email to