5
The
Extra
The 5 command in Vim
Extra
count prefix
Count prefix — type before any motion or operator to repeat it that many times. Also used in
50% to jump to the middle of a file.Examples
5j5dw5i-<Esc>(insert "-----")50%(mid file)
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related keys