Then just

d/\S

Delete through first non-whitespace char 

-----Original Message-----
From: shawn bright [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 15, 2007 8:41 PM
To: vimlist
Subject: Re: command to delete just whitespace

ok, let me clarify a bit more.  i just need to delete the white space between 
the cursor and the next character.

sorry.
sk

On 4/15/07, Jean-Rene David <[EMAIL PROTECTED]> wrote:
> * shawn bright [2007.04.15 20:15]:
> > Hey there, i am looking for a command that will delete all 
> > whitespace up until the first character.
> >
> > for example
> >
> > []            some_characters
> > []some_characters.
>
> :s/^\[\]\zs\s*//
>
> --
> JR
>

Reply via email to