Skip to content

Block-level looks good and delete shortcuts, like c already does for comments #138

Closed

Description

@alebak

Summary

In document / agent-reply review, c comments on the focused block directly. looks good (a) and delete (d) cannot be applied to a block the same way: they only exist in the toolbar that appears for a selection, so a quick "this block is fine" takes extra steps.

Current behavior

  • j/k moves between blocks, and c opens a comment on the focused block. This is documented under "document" in the README keys table.
  • a (looks good) and d (delete) are only documented under "toolbar", which acts on a selection. Pressing a or d with only a block focused does nothing.
  • To mark a whole block as looks good, I either select it with v + motions + Enter and then press a, or press c, then Esc, and only then the a / c / d toolbar shows up.
  • The CLI shows the same asymmetry: --annotate-block <file.md> <block> <text> takes only a comment, while --annotate <file.md> <quote> <text> [comment|looks_good|delete] accepts all three types, but only for a quote.

Expected behavior

With a block focused and no selection, a and d should work as c does: they annotate the whole block as looks good or delete. The toolbar (a / c / d) would then act on the selection if there is one, and on the focused block otherwise.

Why

Reviewing an agent's reply usually means approving most blocks and commenting on a few. One key per block (j to move, a to approve) makes that quick. Today approving a block takes several keystrokes, while commenting takes one.

Possible approach

  • No new default keys: reuse looks-good and delete when there is no selection.
  • Extend --annotate-block with an optional type (comment|looks_good|delete), matching --annotate.
  • x already clears a block's annotations, so undoing a block-level mark would need no new key.

Environment

  • plannotator-tui 0.9.9, via the herdr-annotate plugin 0.9.9
  • herdr 0.9.5, Linux (Ubuntu 24.04), agent reply review (annotate.last)

Related

Activity

  1. backnotprop commented on Nov 10, 2026

    @backnotprop
    Contributor

    #133 (now on main) adds a and d on the focused block, unbound by default as this issue asked. One part is left: an optional type argument for --annotate-block (comment|looks_good|delete). I'm leaving this open for that.

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