<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Imagine you need to search something very quickly using PowerToys Run. You pressed <code class="notranslate">Alt</code> + <code class="notranslate">Space</code>, and you need to open your browser first then search on url bar. but instead I think we might use PT Run to launch websites as well as applications by typing some queries like: <code class="notranslate">bing microsoft build</code>. And it opens bing search result for microsoft build.</p>
<p dir="auto">To customize web search, user might define prefixes and query url for the service.</p>
<table role="table">
<thead>
<tr>
<th align="center">Prefix</th>
<th align="center">Url</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"><code class="notranslate">yt</code></td>
<td align="center"><code class="notranslate">https://www.youtube.com/results?search_query={0}</code></td>
</tr>
<tr>
<td align="center"><code class="notranslate">bing</code></td>
<td align="center"><code class="notranslate">https://www.bing.com/search?q={0}</code></td>
</tr>
<tr>
<td align="center"><code class="notranslate">google</code></td>
<td align="center"><code class="notranslate">https://www.google.com/search?q={0}</code></td>
</tr>
</tbody>
</table>
<p dir="auto">I think users must be able to modify this list to add/edit/remove items.</p>
<p dir="auto">For example when I type something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bing microsoft career"><pre class="notranslate"><code class="notranslate">bing microsoft career
</code></pre></div>
<p dir="auto">It should open this url on my <strong>default</strong> browser:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="https://www.bing.com/search?q=microsoft+career"><pre class="notranslate"><code class="notranslate">https://www.bing.com/search?q=microsoft+career
</code></pre></div>
<h1 dir="auto">Proposed technical implementation details</h1>
<p dir="auto">You could check out <a href="http://www.wox.one/plugin/116" rel="nofollow">this wox plugin</a> for example.</p>
<h1 dir="auto">Protip</h1>
<p dir="auto"><em>Aslo, a note for myself</em></p>
<p dir="auto">Power users could also use duckduckgo's "I'm feeling lucky" like service to directly search and redirect to first item.</p>
<table role="table">
<thead>
<tr>
<th align="center">Prefix</th>
<th align="center">Url</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"><code class="notranslate">web</code></td>
<td align="center"><code class="notranslate">https://duckduckgo.com/?q=!ducky+{0}</code></td>
</tr>
</tbody>
</table>
<p dir="auto"><a href="https://www.alfredforum.com/topic/5927-force-im-feeling-lucky/" rel="nofollow">Source</a></p>
<p dir="auto">So when we execute queries like <code class="notranslate">web powertoys</code> it will open this repo on our browser.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I want to be able to start a web search from the launcher.<br>
Ideally, I'd type <code class="notranslate">bing power toys</code> and it would navigate to <code class="notranslate">https://www.bing.com/search?q=power+toys</code> in my default browser.<br>
<code class="notranslate">google power toys</code> would go to the equivalent.</p>
<p dir="auto">The ability to specify the keyword/search engine to use and the domain it goes to would also be necessary. Not only would this enable supporting other search engines, but it would also allow for people to adjust for different TLD versions of search engines.</p>
<p dir="auto"><em>This would be similar to functionality that used to be available in Enso launcher.</em></p>

<h1 dir="auto">Proposed technical implementation details (optional)</h1>

<p dir="auto">This would presumably require some settings for determining which words are identified as initiating the search and the URL to submit the query to.<br>
This could also be the base for similar functionality where a keyword could launch an app and pass other values as command-line arguments. Without additional arguments, this could also serve as a way to create aliases for apps so they could be launched with a small number of keystrokes.</p>
<p dir="auto"><strong>crutkas:</strong> possible solution to this issue in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="851600669" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/10619" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/10619/hovercard" href="https://github.com/microsoft/PowerToys/issues/10619">#10619</a>.  It defers to default browser + user's search engine.  Lets PT Run be generic</p>