a lost vi command

Susan Macchia linux-sxs at sbmgarden.com
Thu Aug 19 03:04:23 PDT 2010


Vu Pham 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 ?
> 
> Thanks,
> 
> Vu
> ( already gooled, still googling but thought your help is faster that 
> what I am doing ).
> 
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc: http://linux-sxs.org/mailman/listinfo/linux-users
> 
> Need to chat further on this subject? Check out #linux-users on 
> irc.linux-sxs.org !

3 dw

That's how I'd do it.

-- 
__________________________
Susan Macchia
mailto:linux-sxs at sbmgarden.com
http://www.sbmgarden.com
__________________________



More information about the Linux-users mailing list