#96·jid

Swallows keystrokes when editing line, no error reporting

Author: mcintCreated Sep 8, 2023Updated Mar 27, 2026

I'm exploring a json document consisting of an array of arrays grouped by a key. [[{"k":1,},{"k":1}],[{"k":2}]]. As I query > .[0] and try appending [*]. If I go back and try to add . just after the initial .[0] it overwrites the line before it. It seems that in order to edit an earlier part of the line, I need to always rewrite the line that follows.

The issue may be exacerbated by the behavior that filters are not evaluated until a whole new component is recognized, so it's hard to discover syntax because of a slower feedback loop.