VIP. Node: Counts

PREV z Command UP Differences from Vi NEXT Marking

1.4.5: Counts

Some Vi commands which do not accept a count now accept one

p
P

Given counts, text will be yanked (in Vi's sense) that many times. Thus 3 p is the same as p p p.

o
O
Given counts, that many copies of text will be inserted. Thus o a b c ESC will insert 3 lines of `abc' below the current line.
/
?
Given a count n, n-th occurrence will be searched.

PREV z Command UP Differences from Vi NEXT Marking