Skip to content

Add mappings for jq query buffers - #360

Open
Golden007-prog wants to merge 1 commit into
kristijanhusak:masterfrom
Golden007-prog:fix/344-dbui-jq-mappings
Open

Golden007-prog wants to merge 1 commit into
kristijanhusak:masterfrom
Golden007-prog:fix/344-dbui-jq-mappings

Conversation

@Golden007-prog

Copy link
Copy Markdown

Dadbod UI jq query buffers now get the same save, bind-parameter, and execute shortcuts as other supported query buffers. Execution works in normal and visual mode. The default mappings are buffer-local and honor both the global and jq-specific opt-outs.

Closes #344

Verification

  • All 58 tests passed with the project’s Themis runner on Vim 9.1. The new tests cover the actual jq query drawer, a standalone jq buffer, and the jq-specific opt-out.
  • A local jq smoke test returned the expected JSON results through both the normal-mode and visual selection shortcuts. Vim help tags generated successfully.
  • git diff --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

missing keymap setup for jq

1 participant