bsoun / bang-search

Plugin to perform websearch from Sublime Text
MIT License
2 stars 0 forks source link

[Feature request] Multiple search queries #4

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Request

It would be nice, if you add feature multiple search queries similar as Google OR operator.

2. Justification

Feature reduces the time for users. Users should not be spend their time for print each query separately.

1. Synonyms

For example, I need to find prettify for PHP in Package Control site. I need to write 3 search queries: PHP formatter, PHP beautify, PHP prettify. If I make all 3 in one query, I save my time.

2. Exact name

For example, I need alternatives of Agent Ransack program in alternativeTo site. But I not sure, how program was named Agent Ransack or AgentRansack. If I print wrong name, I don't get lost of alternatives. I may save my time, if I write 2 variants.

3. Desirable behavior

Ctrl+Shift+PBang Search Input → I print

PHP formatter OR PHP beautify OR PHP prettify

Enter → I select Package Control → 3 pages was opened in my browser:

https://packagecontrol.io/search/PHP%20formatter https://packagecontrol.io/search/PHP%20beautify https://packagecontrol.io/search/PHP%20prettify

Thanks.

bsoun commented 7 years ago

Hi, I understand your request, it's a great idea. But I don't really like using OR in the search bar. Someone might want to search in google with OR operator (or other site using this specific syntax), and doesn't to see several windows to open. I have not really the time for the moment, but I keep in mind your request. Like you describe it, but using with a multiline research for input or direct search instead of using a OR operator or with a new research function, let say : MBang (new method -> new shortcut).

Thanks for your idea.

bsoun commented 7 years ago

Only with the Bang Search Input at the moment, using CTRL + ENTER to separate your queries. Maybe this could implemented quickly.

bsoun commented 7 years ago

Normally the version will be released soon, for the moment there's only multisearch from the input panel. Technically it's easy to this from the inital bang search, thus multi selection drive to a multisearch. What do you think about it ?

Kristinita commented 7 years ago

What do you think about it ?

May you make pre-release version? So far I do not see how the result will look like. Thanks.