← All projects
Project record1 mention
Originally shared on Hacker News

Go ripgrep/fzf search wrapper

A Go binary that wraps ripgrep and fzf into a single search interface, invocable from the lf file manager or the command line, so the same keystrokes work for searching inside or outside the editor.

Last shared For A terminal user wanting one consistent set of search keystrokes both inside and outside their editor
01 / The problem

What it addresses

Searching requires different keystrokes depending on whether you're inside the editor or on the command line.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Go ripgrep/fzf search wrapper

    A Go binary that wraps ripgrep and fzf into a single search interface, invocable from the lf file manager or the command line, so the same keystrokes work for searching inside or outside the editor.

    Problem: Searching requires different keystrokes depending on whether you're inside the editor or on the command line.

    Audience: A terminal user wanting one consistent set of search keystrokes both inside and outside their editor

    Posted by @noisy_boy · Original source ↗

    Source text · @noisy_boy · · Source ↗

    Writing a go binary to act as a wrapper around ripgrep and fzf. Can be done in many ways but I wanted a simple binary that I can invoke from lf or the command line to search, so that I'm using the same keystrokes to search, inside or outside of editor.