Ben Frain 4/12/2024

Neovim – how to do project-wide find and replace?

Read Original

This technical tutorial explains how to execute a find and replace across multiple files in Neovim when LSP-based renaming isn't suitable. It details a workflow using Telescope to search, sending results to the Quickfix list, and using the `cfdo` command with a substitution pattern to replace text and save all files efficiently.

Neovim – how to do project-wide find and replace?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week