The editor

Formatting shortcuts, smart lists, images, find and replace, focus mode, and inline AI completions.

Writing

The raw editor live-highlights markdown as you type: headings, bold, italic, inline code, links, blockquotes, fenced code. Native macOS spell check is on (autocorrect is not — markdown has too many code spans and URLs for silent substitution to be safe).

  • Smart lists — Enter inside - item continues the list; 1. becomes 2.; > quote continues the quote; Enter on an empty item exits the list.
  • Task checkboxes[ ] items render as real checkboxes in the polished pane; clicking one updates the source.
  • Auto-pairing — brackets and quotes close themselves, with the usual skip-over behavior.
  • Smart link paste — select text, paste a URL, get [selected text](url). Works in both panes.
  • Images — drag an image in and it’s copied to ./assets/ next to your document with the markdown inserted. Pasting image data from the clipboard works too.
  • Lint warnings — heading-hierarchy skips, trailing spaces, and duplicate footnotes get orange squiggles. Broken internal links (missing file or anchor) get red underlines; right-click an external link to check it over the network.

Formatting shortcuts

ShortcutAction
⌘B / ⌘IBold / Italic
⌘⇧KInline code
⌘⇧XStrikethrough
⌘⇧.Blockquote
⌘⇧7 / ⌘⇧8Ordered / unordered list
⌘⇧] / ⌘⇧[Increase / decrease heading level

Every shortcut is remappable in Settings → Keybindings.

Block picker

Type / at the start of a line in the polished view to open a block picker: 15 block types across headings, lists, code, tables, Mermaid diagrams, images, and math. Arrow keys navigate, Enter inserts.

Inline AI completions

With a local model downloaded, dimmed ghost text appears after your cursor when you pause typing (500 ms, at a word boundary, with at least 3 characters on the line).

  • Tab accepts the whole completion; accepts one word at a time; any other key dismisses it.
  • Esc suppresses completions near the current position until you move away.
  • Completions are single-line, capped at ~15 words, and silently dropped if the model takes longer than 300 ms to start responding — no flicker, no waiting.

Focus and view

  • Focus Mode (⌥⇧⌘F) dims everything but the paragraph you’re writing.
  • Line numbers (⌘⇧L) in the raw editor.
  • Zoom — ⌘+ / ⌘- / ⌘0, applied to both panes.
  • Find / Find & Replace — ⌘F / ⌘⌥F, the native macOS find bar.
  • Paste as plain text — ⌘⇧V.

Snippets and templates

User snippets live in ~/.bungu/snippets/ and templates in ~/.bungu/templates/ as plain markdown files. Templates appear under File → New from Template; the Daily Note (⌘⇧N) opens today’s note in your configured journal folder.