Sunday, April 27, 2014

Re: vim fold: how to avoid the "+--" marks


On Apr 27, 2014 6:30 AM, "ping song" <songpingemail@gmail.com> wrote:
>
> experts:
>
> a question about vim fold:
>
> I can fold these:
>
> a
>     b
>         c
>         d
> e
>
> into :
>
> a
>     b
> +--  2 lines: c
> e
>
> I just wonder, how to avoid displaying the "+--", and just leave it as:
>
> a
>     b
>     2 lines: c
> e
>
> sometime this looks "cleaner" for me... especially if I need to refer the folded text in other docs...
>
> any idea?

Check out :h 'foldtext'.

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

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