shiki (私記)
← Full changelog

shiki v0.8.3

Released 2026-07-27.

Share: X Bluesky Reddit Hacker News WhatsApp Telegram Email
shiki v0.8.3, running in a terminal

Added

  • /-menu in the inline editor: typing / as the first character of a line opens a small searchable menu (filters as you keep typing, ↑/↓ navigates, Enter inserts, Esc closes the menu without leaving edit mode) with ready-to-insert blocks — h1/h2/h3, a code fence, a math block, a table, a checklist item, a quote, a divider, today's date, a tags line, and a YAML frontmatter block. / anywhere else on the line (a URL, a fraction) is still a plain character.
  • /-menu commands are fully customizable via [snippets.<trigger>] in config.toml — each entry can add a new block or redefine an existing one (same trigger, case-insensitive). Supports {{title}}/{{date}} (same as note templates) and a {{cursor}} marker for where the cursor lands after insertion.
  • @ dropdown in the new-note title prompt (a): typing @ after the title (or alone, with no title) opens a dropdown with today/yesterday/tomorrow (a computed date, no template) plus every available template — filters as you type, Enter creates the note and jumps straight to editing, skipping the normal "title → Enter → pick a template" flow.
  • 9 new templates alongside the existing 3 (default/daily/meeting): bug, spec, review, postmortem (dev), standup, retro, 1on1, weekly (productivity/meetings), and brainstorm (general) — generated automatically in ~/.config/shiki/templates/ on next launch, without touching any template you've already customized.
  • The inline editor shows a placeholder ("Type '/' for quick blocks...") when the note is empty, so the /-menu is discoverable without reading the docs.

Fixed

  • The inline editor now wraps long lines to the panel's width (same as PREVIEW) instead of scrolling them off-screen horizontally — tui-textarea has no wrap support in any published version, so the editor's rendering is now computed by hand (the same wrap math is reused both to draw the text and to place the cursor, so the two can never disagree), while all real editing (insert/delete/undo/selection) still goes through tui-textarea unchanged.
← v0.8.2 All releases v0.8.4 →