I wanted to use namedqueries as my main startup mode. I hadn't used namedqueries before and wanted some easy management tools for them. So this adds the following commands:
query-rename NEWNAME
query-duplicate NEWNAME (newname defaults to oldname_copy, so this can be bound to other commands)
query-remove is a shortcut for removequery global command, which deletes the currently highlighted query (after a prompt)
query-refine opens a prompt where you can edit the savequery command for the currently highlighted command. This is useful because it allows you to edit both the query name, and the query itself. This is effectively both an "edit" command, as well as a "edit and save as" command.
This branch is only preliminary - I wanted to check if there were any general objections to the approaches, naming, etc. If not, then I'd like to add documentation and tests.
By the way, great project! I'm enjoying using it and hope to be contributing more.
I wanted to use namedqueries as my main startup mode. I hadn't used namedqueries before and wanted some easy management tools for them. So this adds the following commands:
query-rename NEWNAME
query-duplicate NEWNAME
(newname defaults to oldname_copy, so this can be bound to other commands)query-remove
is a shortcut forremovequery
global command, which deletes the currently highlighted query (after a prompt)query-refine
opens a prompt where you can edit thesavequery
command for the currently highlighted command. This is useful because it allows you to edit both the query name, and the query itself. This is effectively both an "edit" command, as well as a "edit and save as" command.This branch is only preliminary - I wanted to check if there were any general objections to the approaches, naming, etc. If not, then I'd like to add documentation and tests.
By the way, great project! I'm enjoying using it and hope to be contributing more.