Wednesday, April 1, 2015

Re: How to indicate multiple window lines that belong to a long line in a file

Christian:

Thank you for your quick response. The showbreak option helps. But it
looks like a character is inserted at the beginning of each continued
line. It is a workable but not an ideal solution. Ideally, I would like
to have showbreak symbol to be displayed in the margin.

I did try numberwidth before. But this option is not very useful because
it does not set the width of the number column as the name suggests. It
actually sets the minimum width of the number column. When working with
a big file, it has little impact on the space taken by the number column.

Paul.

On 4/1/2015 3:00 AM, Christian Brabandt wrote:
> Am 2015-04-01 08:56, schrieb Paul Isambert:
>> Le mercredi 01 avril 2015 à 04:21, 'Paul' via vim_use a écrit:
>>> Currently I use "set number" for this purpose. But it takes a lot of
>>> window
>>> space. So I wonder whether there is a better way to do it, such as
>>> the way
>>> used in Emacs window (showing a little line wrap symbol at the end of a
>>> window line if it continues to the next window line), or maybe show
>>> alternative background colors for different long lines? Any ideas?
>>
>> I'm not sure I understand your request correctly, but perhaps the
>> showbreak option is what you're looking for?
>
> Also note, you can configure the width of the number column using
> the 'numberwidth' option.
>
> Best,
> 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: