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

Global shortcuts search #12

Merged
merged 4 commits into from
Jul 21, 2018
Merged

Global shortcuts search #12

merged 4 commits into from
Jul 21, 2018

Conversation

maltsev
Copy link
Contributor

@maltsev maltsev commented Jul 20, 2018

This PR implements #5.

For the global search I created a separate script filter with cheatsheetg keyword.

addShortcuts(app, action)
if addShortcuts(app, action) == 0:
wf.add_item(nothing_found_error_text, icon=ICON_WARNING)
elif (u'--search-global' in args):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be working well. My main issue with this right now is that it's not accounting for hidden/only_shown apps. it would create an asymmetrical experience. and global search seems like where it's most needed.
though it's technically global, so it might make sense to keep it inclusive of all apps, or else make it configurable.
in settings.json, have:
include_all_app_global_search: True
excluding hidden apps being the default behavior.
For now, I am going to merge it and create an issue for this.

Copy link
Owner

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet. 👍 thank you for your contribution

@mutdmour mutdmour merged commit 64e5f9d into mutdmour:master Jul 21, 2018
@maltsev maltsev deleted the global_search branch July 22, 2018 07:09
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.

None yet

2 participants