Is there any difference between dw and daw in Vim?
vim
Solution
From the documentation:
For example, compare "dw" and "daw": "dw" deletes from the cursor position to the start of the next word, "daw" deletes the word under the cursor and the space after or before it.
Problem
When I delete a word, I use dw, but I found out that there is daw, which can be memorized as “delete a word”. Is there any difference between dw and daw?