Tuesday, June 10, 2014

Re: indent versus previous line

the indentation depends on the number of "\s" in the header.
If you mean that the header is :
\s\s\sTHREE or \s\sTWO


On Tuesday, June 10, 2014 1:48:53 PM UTC+2, Tim Chase wrote:
> On 2014-06-10 04:33, Ni Va wrote:
>
> > Sorry for my english Mr Chase :
>
>
>
> Not a problem, I just want to make sure that you get a solution that
>
> matches your needs
>
>
>
> > - the number of "\s"s varies on specific lines like this example:
>
> > \s\s\sFOO1
>
> > \s\s\sBAR1
>
> > \s\s\sBAR2
>
> >
>
> > \s\s\s\s\sFOO2
>
> > \s\s\sBAR1
>
> > \s\s\sBAR2
>
> >
>
> > \s\s\s\s\s\s\sFOO3
>
> > \s\s\sBAR1
>
> > \s\s\sBAR2
>
>
>
> I was trying to understand whether
>
>
>
> \s\s\sTHREE
>
> BAR
>
> BAZ
>
> END_OF_BLOCK
>
> \s\sTWO
>
> FRED
>
> BARNEY
>
> END_OF_BLOCK
>
>
>
> becomes
>
>
>
> \s\s\sTHREE
>
> BAR
>
> BAZ
>
> END_OF_BLOCK
>
> \s\sTWO
>
> FRED
>
> BARNEY
>
> END_OF_BLOCK
>
>
>
> where the indentation depends on the number of "\s" in the header
>
> line, or whether all lines are indented the same.
>
>
>
> -tim

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