CartMetrix - Do you know yours?

« Easy POP3 Account Tester | Home | Mint Pepper DLoads v0.74 »

3/3/2006

Vim Search and Replace

From the Vim help:

:[range]s[ubstitute]/{pattern}/{string}/[&][c][e][g][p][r][i][I] [count]

For each line in [range] replace a match of {pattern} with {string}.
{string} can be a literal string, or something special; see ¦sub-replace-special¦.
When [range] and [count] are omitted, replace in the current line only.
When [count] is given, replace in [count] lines, starting with the last line in [range]. When [range] is omitted start in the current line.
Also see ¦cmdline-ranges¦.
See ¦:s_flags¦ for the flags.

Popularity: 8%

Trackback:

Related Posts

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2009 damonparker.org. all rights reserved.

Close
E-mail It