Skip to content
Xeron
Go back

Neovim Search and Replace

Published:
Suggest Changes

Batch replace across multiple files — load them with :args, then run :argdo:

:args file1.txt file2.txt file3.txt
:argdo %s/pattern/replacement/g

If that’s too much ceremony, use nvim-spectre. Visual search and replace — you see exactly what will change, at a glance.


Suggest Changes
Share this post on:

Previous Post
ENS Domain Registration Guide
Next Post
Minimalism