What syntax would a Vim user choose if they wanted to perform a search-and-replace operation on an entire document?

A. :r/"string"/"string"/g
B. %r/"string"/"string"/g
C. :s/"string"/"string"/g
D. %s/"string"/"string"/g


Answer: D

Computer Science & Information Technology

You might also like to view...

Podcasts are prerecorded radio- and TV-like shows that you can download and listen to or watch any time

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ____________________ loop can be used to code for definite and indefinite loops.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Undo button allows you to reverse up to ____ previous actions, one at a time.

A. 1 B. 10 C. 100 D. 1,000

Computer Science & Information Technology

?You should design _______________ for the needs of the content rather than those of the device.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology