←back to thread

131 points tomschafer | 1 comments | | HN request time: 0s | source
Show context
gurgeous ◴[] No.42149337[source]
Also see the excellent https://github.com/your-tools/ruplacer.

For more advanced needs, I have a custom thing called greprep that let's you make changes using your favorite editor. Workflow is like this:

  1. $ rg -n .... > /tmp/lines.txt
  2. (edit lines.txt in vscode)
  3. $ greprep /tmp/lines.txt to apply the changes
replies(2): >>42149389 #>>42149718 #
1. ◴[] No.42149389[source]