Feature Request: running query under cursor
sigzegv opened this issue · comments
Cavern commented
It mostly feels convenient to have multiple queries on the same file, but having to visually select a query to run just one is a pain. It would be more convenient to just have to execute the query under cursor with a new command like "SqlsExecuteQueryCursor".
Pablo Ahumada commented
@sigzegv, I use this:
nnoremap <silent> <Leader>qe :<C-U>silent! '{,'}SqlsExecuteQuery<CR>