[ANN] Docfd: TUI multiline fuzzy document finder 2.2.0

I am happy to share a new release of Docfd, 2.2.0.

Repo. Also packaged on opam, AUR, and Nix (as docfd),

Think interactive grep for both text files and PDFs, but word/token based instead of regex and line based, so you can search across lines easily.

Docfd aims to provide good UX via integration with common text editors and PDF viewers, so you can jump directly to a search result with a single key press.

Demos

Navigating repo:

Navigating “OCaml Programming: Correct + Efficient + Beautiful” book PDF and opening it to the closest location to the selected search result via PDF viewer integration:

Major changes since last announcement

  • Search expression is added (and properly documented more recently).
    A search expression is one of:

    • Search phrase, e.g. fuzzy search
    • ?expression (optional)
    • (expression)
    • expression | expression (or), e.g. go ( left | right )
  • Search results with balanced opening and closing symbols ((), [], {}) are ranked higher to reduce visual noise when searching

  • Added file selection support via fzf

  • Added support for jed/xjed

  • Restored behaviour of skipping file extension checks for top-level user specified files. This behaviour was likely removed during some previous overhaul.

11 Likes