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';
}
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';
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
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