

Whether the character under the cursor is included depends on the command you Guesses that you do want to include that last character: If you use the " e" command to move to the end of a word, Vim That'sīecause Vim knows that you probably don't want to delete the first character Vim only deletes up to the position where the motion takes the cursor. The "4w" command, for example, moves the cursor over four words. In fact, the " d" command may be followed by any motionĬommand, and it deletes from the current location to the place where the You may recognize the " w" command as the Using a count: "4x" deletes four characters. In chapter 2 you learned the " x" command to delete a single character. Previous chapter: | usr_03.txt| Moving around Next chapter: | usr_05.txt| Set your settings


It teaches you the three basic ways to change text: operator-motion, This chapter shows you several ways of making corrections and moving textĪround.
