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

Posted by: Pdfprep Category: 101-500 Tags: , ,

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
A . By using the command :repeat followed by the number and the command
B . By specifying the number right in front of a command such as 41 or 2yj.
C . By selecting all affected lines using the shit and cursor keys before applying the command.
D . By issuing a command such as :set repetition=4 with repeats every subsequent command 4 times.
E . By specifying the number after a command such as 14 or yj2 followed by escape.

Answer: B

Leave a Reply

Your email address will not be published.