Skip to content

Instantly share code, notes, and snippets.

View glass-ships's full-sized avatar

Glass glass-ships

View GitHub Profile
---
layout: post
title: "Just testing the waters!"
---
<h2>VIM Search and replace syntax</h2>
<p>The syntax is as follows:<br />
<code>:%s/Search/Replace/CommandFlag<br />
:%s/Search-Word/Replace-Word/g<br />
:%s/Search-Word/Replace-Word/g<br />
:%s/Search-Word/Replace-Word/gc<br />