If I do this:
:1,$s/ *//
It deletes the first instance of (any number of) repeated spaces on any line in my file.
Is there a way to say "delete the first instance of 10 (only) repeated spaces" on a line? (Without doing
:1,$s/ //
- i.e. just entering 10 spaces). I'd like to do this for sometimes 40 or more spaces & I'm likely to miscount my spaces!
Thanks, Chris
:1,$s/ *//
It deletes the first instance of (any number of) repeated spaces on any line in my file.
Is there a way to say "delete the first instance of 10 (only) repeated spaces" on a line? (Without doing
:1,$s/ //
- i.e. just entering 10 spaces). I'd like to do this for sometimes 40 or more spaces & I'm likely to miscount my spaces!
Thanks, Chris