kndndrj / nvim-dbee

Interactive database client for neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature suggestion: Yank CSV/JSON for results

artfulrobot opened this issue · comments

The save to csv/json is a great feature, but often we might want to use the results in an existing buffer.

It's faffy to save somewhere, load that in a buffer, select and yank, paste it into the buffer we wanted it in, then go back to delete the saved buffer from disk and vim.

It would be really helpful to be able to yank-as-csv or yank-as-json from the results buffer, then we could simply paste it where we want it.

It would be super great if we could also yank a row or selected rows of the output, too, but I suspect that's a much bigger fetaure!

This is a great idea!

I still need to think about some missing pieces but I think it's very doable.

Thanks for sharing and opening the issue! (this goes for all your ooened issues 😄)

@artfulrobot check #28 - any feedback would be welcome, thanks!

Thanks! But as I hit some problems using this extension when I was initially reviewing, I looked elsewhere and am now using DadBod / DBUI as I needed something to be getting on with. I would like to re-review this extension one day though when I next get some free time / when DBUI is missing something I need.

closed with #28