equal
deleted
inserted
replaced
400 +-----------------------------------------+---------+ |
400 +-----------------------------------------+---------+ |
401 | Previous occurrence of ``x`` in the line| ``Fx`` | |
401 | Previous occurrence of ``x`` in the line| ``Fx`` | |
402 +-----------------------------------------+---------+ |
402 +-----------------------------------------+---------+ |
403 |
403 |
404 +---------------------------------------+------------------+ |
404 +---------------------------------------+------------------+ |
405 | Finding and Replacing | |
405 | Finding and Replacing | Commands | |
406 +=======================================+==================+ |
406 +=======================================+==================+ |
407 | Replace the first instance of ``old`` |``:s/old/new`` | |
407 | Replace the first instance of ``old`` |``:s/old/new`` | |
408 | with ``new`` in the current line. | | |
408 | with ``new`` in the current line. | | |
409 +---------------------------------------+------------------+ |
409 +---------------------------------------+------------------+ |
410 | Replace all instances of ``old`` |``:s/old/new/g`` | |
410 | Replace all instances of ``old`` |``:s/old/new/g`` | |