Add a global tree search keyboard shortcut #134
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I've been really loving lazysql and use it as my daily driver now. Thank you for the time you've put into it!
One thing that I've been missing is to be able to search the tables from anywhere. Right now if I want to go to another table from the results table, I have to press,
<shift>+h
then/
then<ctrl>+u
to search for a new table, which for me is a bit of a chore to do. In TablePlus, you can hit<cmd>+p
(on a macOS) to search for any table, though I have used<ctrl+p>
since that seems to be the modifier key of choise. I have (probably very crudely) added that here. My Go and knowledge of the code-base is not great, so thinking of this PR as an initial discussion on this suggested key binding.Please let me know what you think and if you are ok with this kind of keybinding being added how to best go about it.