Re: What's the command to delete a word?
- On Tue, Dec 01, 2009 at 11:56:03PM EST, Peng Yu wrote:
> dd is the command to delete a line. I'm wondering what the command todw or dW
> delete a word (including the spaces immediately afterward) is?
For the difference between 'word' and WORD, see:
I find it more effective to think in terms of 'd' (delete) + motion -
where 'd' deletes from your starting point in the buffer to where the
'motion' takes the cursor - see also 'de' and 'dE'.
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php