Skip to content

v0.2.1

Choose a tag to compare

@cashmeredev cashmeredev released this 27 Feb 07:30
v0.2.1
e8f259d

What's New

New Features

  • LaTeX fragment preview in org-mode — render LaTeX fragments as images via C-c C-x C-l (requires a TeX distribution with dvipng)
  • doc-view integration — PDF/DVI/PS viewing with page navigation (n/p) and zoom (+/-/0)
  • Image-mode zoom & centering — zoom controls (+/-/0) and centered image display

Bug Fixes

  • Images now hide when org headings are collapsed — overlays are properly removed when folding/cycling headings
  • image-mode compatibility with evil-mode — fixed positioning issues with evil-mode active

Robustness & Performance

  • LRU image cache with configurable size (kitty-gfx-cache-size, default 64) and automatic eviction — prevents unbounded terminal memory usage
  • Reduced flicker — buffer/window changes now use targeted placement deletion instead of clearing all images
  • Image overflow protection — images that would extend past the window bottom are hidden instead of causing visual corruption
  • Safer image conversion — non-PNG conversion failures are handled gracefully instead of sending broken data to the terminal
  • Cross-buffer image sharing — killing a buffer no longer deletes images still displayed in other buffers
  • Leading-edge debounce — faster initial refresh response with trailing-edge catchup for rapid scrolling
  • Cell size re-query on resize — images scale correctly after terminal font or window size changes
  • Defensive terminal I/O — all send-string-to-terminal calls wrapped in ignore-errors
  • Dimensions computed fresh on each display (no stale cached sizes after zoom/resize)
  • Dead overlay pruning in refresh cycle
  • GIF removed from supported formats (animated GIFs caused issues)
  • unwind-protect for temp file cleanup throughout