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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes