Home > Articles > Home & Office Computing > Microsoft Windows Server

  • Print
  • + Share This
From the author of

From the author of

Using a Count to Edit Faster

Suppose you want to move up nine lines. You can type kkkkkkkkk or you can enter the command 9k.

In fact, you can precede all the movement commands with a number. Earlier in this article, for instance, you added three exclamation points to the end of a line by typing a!!!<Esc>. Another way to do this is to use the command 3a!<Esc>. The count of 3 tells the a command to insert what follows (!) three times.

Similarly, to delete three characters, use the command 3x.

  • + Share This
  • 🔖 Save To Your Account