:s/^\s*//

Add % between : and s to apply it to all lines in the buffer 

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

Hey there, i am looking for a command that will delete all whitespace up until 
the first character.

for example

[]            some_characters
[]some_characters.

i could not find a command to do this ( or perhaps read the cheat sheet and 
:help d wrong )

thanks
sk

Reply via email to