Ok thank you and sorry for my english.
On Tuesday, June 10, 2014 7:38:18 PM UTC+2, Tim Chase wrote:
> On 2014-06-10 07:13, Ben Fritz wrote:
> 
> > > It works a little using \s out \\s because I have magic card I
> 
> > > think:
> 
> > > 
> 
> > > :g/^\s/exec 'sil! +,/^END_OF_BLOCK/'.repeat('>',
> 
> > > strlen(matchstr(getline('.'), '\(\s\)\+')) / 2) 
> 
> > > 
> 
> > > 
> 
> > > In fact I got :
> 
> > > 
> 
> > > <some\spaces>THE_LINE_OF_THE_HEADER_THREE
> 
> > >                          OTHER DEPEND'S LINES
> 
> > >                          OTHER DEPEND'S LINES  
> 
> > 
> 
> > You were SPECIFICALLY ASKED whether all your \s examples were two
> 
> > literal '\' and 's' characters, or whether they were spaces. You
> 
> > said:
> 
> 
> 
> Which would adjust the command, so you're remove the "/2" because
> 
> that divides by the number of characters found.  With a literal "\s",
> 
> that's two characters, so you need to divide the length by 2. If
> 
> there's only one character as found by the regexp "\s", then it's
> 
> effectively dividing by 1 which is a no-op.
> 
> 
> 
> -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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to