Wednesday, August 28, 2013

Re: Question about folding methods

On Wed, Aug 28, 2013, at 11:19, boss wrote:
> On Tuesday, 27 August 2013 22:01:14 UTC+2, Niels Kobschätzki wrote:
> > When I set the mode to one of the "automatic" ones (syntax, indent), it doesn't seem that I can zf anymore. I tried to switch to manual (:set foldmethod=manual), set the fold manually and then switch back to indent but then my manual fold got opened again.
>
> When your fold method is indent, the folding only works when the actual
> indentation in your file matches the configured indentation. For
> example, Vim's default indentation for CSS is 8 spaces; but if you're
> editing a CSS file with, say, 4 spaces of indentation, the folding won't
> work. In this case you'll need to configure the indentation to match
> (with shiftwidth and softtabstop).

I know that one, but I'd like to fold manually from time to time while
in indent-mode.

Niels

--
--
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/groups/opt_out.

No comments: