-
Notifications
You must be signed in to change notification settings - Fork 7
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
[feature] snippets #88
Comments
Thanks for the suggestion! You can already get a very similar behavior by renaming apps, e.g. rename github to something like "github (gc)" or "github - gh" |
Dude I fricken love this idea. It's like a bash alias. Game changer. 🙏🏻🙌🏻 Edit: just realized we can already kind of do this if you rename the app. Though, depending on the alias you rename it to, the search may still find other app matches. i.e., making sure someone can use an alias "gm" for some app doesn't preclude them from then being able to get to their Gmail app with the same first letter inputs of "gm" would be wise. I could see people getting frustrated by that. |
I'm not really sure how to solve this. For shortcuts to be useful they should be launched immediately (otherwise this feature would not add much over just renaming the app). On the other hand it might make the usual search really frustrating. |
Thanks for pointing this out, haven't noticed, yet. Theoretically this makes my request obsolete, practically it would still be neat to provide a functionality to add a snippet that gets stored in the background while the application name on the list still is verbose. So when I type gh it immidiately opens GitHub while the app name remains original. |
Yes, so snippets have two benefits over renaming:
I'm not really sure whether that is worth the effort (implementing UI for managing snippets etc.) and added complexity. |
Somewhat unrelated: Thinking about this, I had the idea to let users launch a web search from the search list: Currently pressing the submit button on the keyboard launches the first matching app. Adding an option to launch a web search instead would be relatively straight forward. |
Would it use a static search engine or a user preference engine? I'm thinking it could allow the user to pass "g cat pics" to use Google engine to search cat pics, or something like "d " or "b " for duckduckgo and bing, respectively. I think the version of Internet Explorer my old job used allowed this address bar functionality where "g search query" would let you Google for a search query (without the g it would try to resolve the input as a path on the LAN). |
Well, yeah, there would be a responsibility given to the user, unless (but that adds even more work regarding implementation I guess) you restrict snippet names and make it so there can't be multiples of the same abbreviation. Maybe even restrict the length of the given name, since those are only snippets. Maybe in form of "Advanced Settings". |
Doesn't the first matching app gets launched directly as soon as the search bar identifies a unique name? At least thats the case with me. Thats why I came up with the idea of snippets in the first place: you type in "gh" for GitHub for example and the app automatically launches. |
Correct, if "Launch search results" is toggled on. |
The easiest way would be to use Alternatively I could open a (user provided) URL like |
I'd say KISS for now with the intent and if enough users ask for the ability to use their own then you could tweak it down the road. |
Snippets instead of first unique name match in search bar
Example:
Instead of having to type until the launcher recognizes a unique name, make it so I can just type "gh" for GitHub or "dc" for Discord.
The text was updated successfully, but these errors were encountered: