a lost vi command
Dog Walker
thudfoo at gmail.com
Wed Aug 18 09:59:18 PDT 2010
On Wed, Aug 18, 2010 at 8:33 AM, Vu Pham <vu at sivell.com> wrote:
>
> I thought a friend of mine told me how to do this in VI but now I cannot remember how to do it.
>
> I have the below sentence:
>
> this is an example blah1 blah2 blah3.
>
> The cursor is currently at the letter 'e' of the word example. I want to delete the text "example blah1 blah2". IIRC, I was told to use 2 with some command ( or some command with 2 ) but I cannot remember what it is.
>
> Could you please remind me ?
>
df2
d for delete
f for find
2 argument to f
:help d
--
I have seen the future and I'm not in it!
More information about the Linux-users
mailing list