Saturday, May 12, 2012

Re: How to delete a string between spaces?

Hi,
you can use 3dw to delete the whole string.

2012/5/12 Tim Chase <vim@tim.thechases.com>
On 05/12/12 05:49, Peng Yu wrote:
> daw only delete a word. I need to delete something between
> spaces. For example, I want to delete the whole string "$abc$",
> rather than just "abc". Is there a convenient way to do so?

you can use "W" instead of "w" to see if either

 diW
 daW

does what you want.

-tim



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php



--
-高荣超

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: