Vim command


Command Description
dw Delete the cursor to the end of the word and delete the space at the end of the word, with the cursor on the first letter of the next word.
daw Delete the word the cursor is on and delete the space at the end of the word, with the cursor on the first letter of the next word.
diw Delete the word the cursor is on but does not delete the space at the end of the word, the cursor is on the undeleted space.
cw Delete the cursor to the end of the word but does not delete the space at the end of the word, and enters input mode with the cursor in front of the undeleted space.
ciw Delete the word the cursor is on but does not delete the space at the end of the word, and enters input mode with the cursor in front of the undeleted space.
caw Delete the word the cursor is on and also delete the space at the end of the word, enters input mode with the cursor in front of the first letter of the next word.

Author: malu
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source malu !
  TOC