Search code examples
spacemacs

How to do a project-wide find and replace in Spacemacs?


I'm trying to do a project-wide find/replace in Spacemacs. I tried this:

  1. SPC s a p
  2. Type the text I want to replace.
  3. C-c C-e

At this point Spacemacs tells me text is read-only. What am I missing to be able to preform the edit operation?


Solution

  • Use SPC p R to use projectile-replace which runs interactive query-replace on all files in the project.