Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 396 Bytes

repeating-characters.md

File metadata and controls

18 lines (13 loc) · 396 Bytes

Repeating Characters

It's not common to need to type 39 space characters in a row, but when the moment arises, you don't want to be caught hitting the space bar 39 times. Vim makes it easy. From normal mode, type the number, then i, and then the character to be repeated followed by an escape.

For instance, for 39 spaces, hit:

39i <esc>

or for 80 dashes, hit:

80i-<esc>