Skip to content

Search the document text with / (and n / N) #137

Closed

Description

@cyniphile

In the document view there is no way to find text. Ctrl+P finds files by name (#99, #100), but in a long plan or agent reply I have to scroll and read to find a word before I can annotate it. Running plannotator-tui inside Herdr doesn't help either: it draws full screen, so Herdr's copy-mode search sees only the visible rows.

Proposal, vi-style like the other keys:

  • / opens a search prompt at the bottom; Enter jumps to the first match after the cursor, Esc cancels.
  • n / N go to the next / previous match, wrapping at the end.
  • Matches are highlighted, and the keyboard cursor lands on the match, so v (visual) and c / a / d work on it directly.
  • Case-insensitive by default (smart case would be nice).
  • New [keys] actions, e.g. search = ["/"], search-next = ["n"], search-prev = ["N"], so they can be remapped like the rest.

Searching the rendered text (what you see) would be enough; source Markdown positions are a bonus.

Version: plannotator-tui 0.9.9 (Herdr Annotate plugin 0.9.1, herdr 0.9.5), macOS.

Activity

  1. added 2 commits that reference this issue on Nov 20, 2026
    7fe3532
    725929b
  2. added a commit that references this issue on Nov 22, 2026
    c813d09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions