VIP. Node: Numeric Arguments

PREV Vi Commands UP Vi Commands NEXT Important Keys

2.1: Numeric Arguments

Most Vi commands accept a numeric argument which can be supplied as a prefix to the commands. A numeric argument is also called a count. In many cases, if a count is given, the command is executed that many times. For instance, 5 d d deletes 5 lines while simple d d deletes a line. In this manual the metavariable n will denote a count.

PREV Vi Commands UP Vi Commands NEXT Important Keys