Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Aral Balkan
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 2 days ago

Like global search and replace but don’t like surprises?

Check out serpl – a handy little command-line app that gives you a visual preview of the changes you are about to make. You can even go in and remove the replacements you don’t want from the source previews. The regex support appears to be basic, however (I couldn’t get a negative lookbehind to work).

https://github.com/yassinebridi/serpl#readme

(Also, it appears they’re looking for maintainers. It’s written in Rust.)

#searchAndReplace #findAndReplace #CLI #app #serpl #dev

Screenshot of me serpl with Search, Replace, Result List and Preview panes in a command-line interface. Search has /setup and [Match Case] mode selected, Replace has /settings with [Simple] mode selected. The Results List shows about 20 items and the selected file is shown in the preview pane with three replacements in diff-style red/green highlighting on lines 27, 28, and 35.
Screenshot of me serpl with Search, Replace, Result List and Preview panes in a command-line interface. Search has /setup and [Match Case] mode selected, Replace has /settings with [Simple] mode selected. The Results List shows about 20 items and the selected file is shown in the preview pane with three replacements in diff-style red/green highlighting on lines 27, 28, and 35.
Screenshot of me serpl with Search, Replace, Result List and Preview panes in a command-line interface. Search has /setup and [Match Case] mode selected, Replace has /settings with [Simple] mode selected. The Results List shows about 20 items and the selected file is shown in the preview pane with three replacements in diff-style red/green highlighting on lines 27, 28, and 35.
GitHub

GitHub - yassinebridi/serpl: A simple terminal UI for search and replace, ala VS Code.

A simple terminal UI for search and replace, ala VS Code. - yassinebridi/serpl
  • Copy link
  • Flag this post
  • Block
Doaa Madhoun
Doaa Madhoun
@doaamadhoun@mastodon.social replied  ·  activity timestamp 2 days ago

@aral Please, my child is between life and death. Please repost.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct