Vim: Count
Many commands take an optional number that may precede a command to multiply or
iterate the command. This is known as the count
. If no number is given, a
count
of one is typically used (the help will indicate where this differs). If
the showcmd
option in on, the entered count
is displayed on the bottom line
of the window (towards the right hand side).
I have set showcmd
in my vimrc
file.
Examples:
7dd
delete 7 lines.24j
move down 24 lines.
Resources
Start with :help count