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 to > delete a word (including the spaces immediately afterward) is?
dw or dW For the difference between 'word' and WORD, see: :h word 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'. CJ -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php