micasa

Row Filtering

micasa lets you filter table rows by pinning cell values, then activating to hide non-matching rows.

Filtering demo showing pin, preview, activate, and clear

Quick start#

  1. Navigate to a cell whose value you want to filter by (e.g., “Plan” in the Status column)
  2. Press n to pin it – matching rows stay bright, others dim
  3. Press N to activate – non-matching rows disappear
  4. Press N again to deactivate (rows return, dimming resumes)
  5. Press ctrl+n to clear all pins and deactivate the filter at once

Pin logic#

Matching is case-insensitive and exact (the full cell value, not a substring).

Visual states#

StateMatching rowsNon-matching rowsPinned cells
No pinsNormalNormalNormal
Preview (pins, filter off)NormalDimmedMauve foreground
Active (filter on)NormalHiddenMauve foreground

Pinned cell values render in mauve to make it easy to see what you’ve selected. Non-matching rows in preview mode are dimmed but still visible so you can verify the filter before committing.

Eager filter mode#

You can press N to arm the filter before pinning anything. A triangle appears to the right of the active tab to indicate filtering is on. Subsequent n presses immediately filter (no preview step) because the filter is already active.

Per-tab persistence#

Pins and filter state are stored per tab. Switching tabs preserves your filter exactly as you left it – switch away to check another tab and come back without losing your selection.

Mag mode interaction#

When mag mode (ctrl+o) is active, pins operate on the mag value rather than the underlying number. Because mag compresses dollar amounts to their order of magnitude, values that look different normally (e.g. $1,200 and $1,800) collapse into the same bucket – pin one and you effectively filter by price range. Toggling mag mode translates existing pins between representations, so your filter stays meaningful across display modes without manual re-pinning.

Keybindings#

KeyAction
nToggle pin on current cell value
NToggle filter activation (preview <-> active)
ctrl+nClear all pins and deactivate filter

Edge cases#