Am 2015-04-01 15:00, schrieb 'Paul August' via vim_use:
> 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.
Well, it is not particular pretty, but you can use something like this:
:set cpo+=n nonu rnu nuw=3 bri briopt=sbr
This will draw the 'showbreak' symbol in the margin of the number
column. But you need a number setting (either 'number' or
'relativenumber')
applied so that this column will be drawn and the relativenumber option
is set only, because this number is usually not so wide, so 3
letters should be enough and you need 'breakindent' set so that the
briopt setting is applied.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment