QuestionQ62

VerifiedGNU and Unix Commands

In the vi editor, how can commands—such as moving the cursor or copying lines into the buffer—be executed multiple times or applied across multiple rows?

Explanation

In vi normal mode, placing a numeric count immediately before a command specifies how many times it is performed or how many units it affects. This applies both to motions and to editing commands combined with motions, such as 2yj.

Community Discussion

No comments yet. Be the first to start the discussion!