Vim Notes

Find and Replace


Find and Replace in a part of a file

Mark a beginning line in the file with m followed by any letter. Similarly for the ending line.


  • q followed by any letter to begin recording a macro.
  • q to end.
  • @L to execute the macro L once.
  • N@L executes macro L, N times.

-- RyanReece - 17-Mar-2010

This topic: Sandbox > TWikiUsers > RyanReece > RyanReeceSandbox > VimNotes
Topic revision: r1 - 2010-03-17 - RyanReece
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback