1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/vim/repeating-characters.md
2015-09-16 21:39:03 -05:00

19 lines
396 B
Markdown

# 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>
```