Releases: hello-world-bfree/nvim-duckdb
Releases · hello-world-bfree/nvim-duckdb
v0.10.0
What's New in v0.10.0
This release adds significant new features for productivity and data workflow integration.
New Features
Query History
- Persistent query history stored across sessions
:DuckDBHistorycommand to browse and re-execute past queries<leader>dhkeymap for quick access
SQL Scratch Buffer
:DuckDBScratchopens a persistent SQL editing buffer- Press
<CR>to execute the statement under cursor - Auto-saves and persists across sessions
Result Buffer Actions
New keymaps in result windows:
f- Filter results (add WHERE clause)s- Sort by column under cursorya- Yank as JSON arrayyo- Yank JSON with format selectionyc- Yank as CSVe- Export to filer- Re-run query
Schema Statistics
:DuckDBSummaryshows SUMMARIZE statistics:DuckDBHovershows column stats under cursorKmapping on CSV/JSON files for quick column info
HTTP Export
:DuckDBPost <url>to POST query results to APIs- Supports multiple JSON formats (array, object, single)
Data Transform with Diff
:DuckDBTransform <query>shows changes in diff view- Preview before applying transformations
Enhanced Completion
- Buffer name tab-completion inside
buffer('...')syntax
Telescope Integration (Optional)
:Telescope duckdb historyfor query history picker:Telescope duckdb buffersfor buffer picker
New Commands
| Command | Description |
|---|---|
:DuckDBScratch |
Open persistent SQL scratch buffer |
:DuckDBHistory |
Browse and rerun query history |
:DuckDBSummary |
Show SUMMARIZE statistics |
:DuckDBHover |
Show column stats under cursor |
:DuckDBPost <url> |
POST query results to URL |
:DuckDBTransform |
Transform with diff preview |
New Configuration Options
require('duckdb').setup({
history_limit = 500,
scratch_path = nil, -- custom path or default
hover_stats = true,
inline_preview = true,
inline_preview_debounce_ms = 500,
})Documentation
README completely rewritten using Diataxis methodology with:
- Step-by-step tutorials
- Task-oriented how-to guides
- Complete API reference