Repeat last :substitute in Vim

Anton Paras
Jul 26, 2017 · 1 min read

Press & while in Normal mode.

Example:
Replacing quick with slow in several, arbitrary lines of The quick brown fox jumps over the lazy dog.

Opinions expressed in these articles do not reflect those of my employer.

Written by

Engineer @ Qualtrics.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade