Skip to content

CantGetRight82/rgw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ripgrep-write (rgw)

Search and replace in current directory.

This is a thin wrapper around ripgrep (rg) that allows you to save the proposed replacements. For the moment in only allows you to specify the search and replace arguments and searches in the current directory.

Install

  1. Depends on ripgrep, so install if not already: https://github.com/BurntSushi/ripgrep

  2. Depends on nodejs, so install if not already: https://nodejs.org/en/download/

  3. Finally install rgw:

$ npm install rgw

Usage

$ rgw [search] [replace]

It will show the ripgrep of what would be replaced.

You can then either apply all changes, or interactively decide on each change seperately.

About

Search and replace in current directory using ripgrep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published