Skip to content

Releases: wylie102/duckdb.yazi

v0.2.1

27 Mar 15:50

Choose a tag to compare

Changes

  • Default preview mode is now (once again) "summarized".
  • Default can now be changed using your init.lua file in the config/yazi directory - see README.
  • Preview mode toggle now applies to all files rather than applying per file.
    • So after toggling it from summatized to standard, all files will be standard until toggled again.
    • This resets to the default view after closing and re-opening.

Added in last release

  • Preview mode can be toggled within yazi:
    • Press "K" at the top of the file to toggle between "standard" and "summarized."
  • Caching is now on a per-view basis and therefore faster.

Going forward

Soon

  • Considering adding the ability to map view toggle to a specific key (let me know in a discussion whether you would like this or prefer using K.
  • Aiming to add the ability to view a list of the tables in a database when hovering a duckdb created database (.db, .duckdb).
  • Looking at ways to add horizontal scrolling.

Longer term

  • Adding the ability to use duckdb as an opener for data files or databases.
    • Pressing enter on a compatible file would boot back to terminal (or possibly the ui mode in a browser, this might be a configuration option) and load the file or the database.
  • Adding the ability to convert a file or folder of files between file formats.
  • .xlsx support.
  • Adding some fallbacks on a per file basis if the default load statement fails on your file.
  • Ability to view/copy insert statements for a file. Or the ability to select files and load them into selected databases.

🔄 Mode Switching, Scroll Handling, and Query Caching

26 Mar 19:43

Choose a tag to compare

Summary:
This version overhauls the DuckDB preview plugin to support toggleable preview modes (standard ↔ summarized) and fixes scroll offset behavior using a virtual skip encoding scheme.

Key Changes:

  • ✨ Toggleable preview mode using K while at the top of the preview. Blazing fast scrolling in both modes with J and K (once cached).
  • 💾 Preview mode persisted per file using a dedicated DuckDB mode cache. Default is now "standard "view as this is fastest on initial viewing of a directory.
  • ✅ Robust fallback to default previewer if any query fails or cache is missing. And smarter faster caching of separated "standard" and "summarized" cach files to speed up and greatly improve the experience.

Enjoy!