ink-web-ui
Components

Diff Viewer (Git)

Git-style interactive diff with file tree, hunk staging, and dual line number gutters.

Features

  • File tree sidebar with status indicators (A added, M modified, D deleted)
  • Hunk-by-hunk navigation with stage/skip workflow
  • Dual line number gutters (old + new)
  • Per-hunk status badges (STAGED / SKIP)
  • Toggleable file tree panel
  • File-level staged checkmarks

Keybindings

  • f / tab — Switch files
  • n / p — Next/previous hunk
  • s — Stage current hunk
  • x — Skip current hunk
  • t — Toggle file tree
  • j / k — Scroll

On this page