nvim-dbee
nvim-dbee copied to clipboard
Yank query from history
Hi!
Thanks for the awesome plugin! I was looking through the docs and I couldn't figure this out. Is there a way to yank a previously executed query shown in the query history pane?
Yes, this should be possible AFAIK.
- Navigate to the archived query you want to yank in the log buffer, press enter when you find it
- The result should now be displayed in the result buffer
- Now yank the content (cursors still in the result pane), e.g.
lua require("dbee").store("json", "file", {extra_arg = "output.json"} )
Albeit, it should be a shortcut for yanking this directly from the log buffer but that is probably an enhancement in the future. Let me know if this works for you.
@luccascorrea any update on this? Otherwise I'll close this due to staleness
@luccascorrea, are you referring to tanking the query or the result?