Re : PHP syntax script problem

2010-08-05 Fir de Conversatie Dimitar DIMITROV
Hi, When using :vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another to just one line) on a php file: ?php class Test { public function init() { echo '1'; echo '2'; echo '3'; echo '4'; echo '5'; }

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie Benjamin R. Haskell
On Thu, 5 Aug 2010, Dimitar DIMITROV wrote: Hi, When using :vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another to just one line) on a php file: ?php class Test {     public function init()     {     echo '1';     echo '2';    

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie James Vega
On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote: Roughly, from what I can tell: :vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank lines): ,-- repeat last f F t T search (or does ',' do something different here?) /\S/ -- find

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie Benjamin R. Haskell
On Thu, 5 Aug 2010, James Vega wrote: On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote: Roughly, from what I can tell: :vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank lines): ,-- repeat last f F t T search (or does ',' do