Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a global tree search keyboard shortcut #134

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

itsmewes
Copy link

@itsmewes itsmewes commented Nov 30, 2024

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.

@jorgerojas26
Copy link
Owner

Thanks for the PR. I'll take a look.

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.

3 participants