Monday, November 19, 2012

Re: Auto folding ONLY on blocks starting from column 1

On Monday, November 19, 2012 2:31:49 PM UTC-6, Philip Rhoades wrote:
> People,
>
>
>
> I have been playing around with folding options in .vimrc but can't
>
> work out how to do what I want which is:
>
>
>
> Fold all blocks between the first line of the block and the "end"
>
> line but ONLY only for those blocks whose first line starts at column 1.
>
>
>
> Is this possible?
>

What do you mean by "block"? How do you know where it starts and ends? This should be fairly easy to do with a foldexpr.

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

No comments: