Skip to content

feat(query-at-cursor): implement command to execute query at cursor#353

Open
sigzegv wants to merge 1 commit into
kristijanhusak:masterfrom
sigzegv:master
Open

feat(query-at-cursor): implement command to execute query at cursor#353
sigzegv wants to merge 1 commit into
kristijanhusak:masterfrom
sigzegv:master

Conversation

@sigzegv

@sigzegv sigzegv commented Mar 13, 2026

Copy link
Copy Markdown

This PR adds a command to run the SQL query under the cursor instead of the full file. This is usefull when working with multiple queries in the same buffer.

example:
nmap <silent> <leader>db <Plug>(DBUI_ExecuteQueryAtCursor)

@sigzegv

sigzegv commented Mar 13, 2026

Copy link
Copy Markdown
Author

That's a proposition, selecting visually the query each time when you are playing with optimizations and modifications and you run them 10 times or more is a bit frustrating, and more if the query is big. In my workflow it allows me to go faster.

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.

1 participant