vim: how to delete spaces till the first character?
dtf
Delete Till F
There is no other easy command. You could use a regex, but that'd be more painful to write.
My bad, @Mat's answer is even better (dw
).
dw
Will delete all the whitespace if you're on the first column.