Hi Herbert, again ;)

On Do, 03 Nov 2011, hsitz wrote:

> I'm using conceal to hide portions of web links in my documents.  I
> use textwidth of 80 to automatically add line breaks.
> 
> The problem I have is that the "concealed" parts of weblinks counts as
> part of the 80 characters used by textwidth.  So if I have a long link
> that is largely concealed, showing just a few characters on the
> display, the linebreak can be added at a point that is far less than
> column 80.
> 
> I don't want the concealed text counted as part of the textwidth
> count.  Is there some setting to avoid that behavior, i.e., to have
> only visible characters be used for textwidth?
> 
> Thanks,
> 
> Herb Sitz
> 
> Example below:
> ------------------------------------------------
> This is actual text of a line:
> 
>   [[http:///www.this_is_a_long_url_description_that_is_concealed.com]
> [LINK DESCRIPTION]]
> 
> This is text that is displayed when 'conceal' is on:
> 
>   LINK DESCRIPTION
> 
> I would like to have text to right of link description on the line,
> but when using textwidth it will immediately break into a new line,
> because counting hidden characters line length goes over textwidth.
> -----------------------------------------------

This has been discussed several times, e.g. here (which contains links 
to further references)
http://groups.google.com/group/vim_dev/msg/d08f576a61aff805

(in short, it is not possible to change this)

regards,
Christian

-- 
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