Geany: Can we open a website link from geany text editor?
<p>I am a big fan of Geany text editor. I am using it to write Python, C and as a simple text editor.</p>

<p>My question is following:</p>

<p>Suppose I have opened a file example.txt and it contains:</p>

<pre><code>https://www.youtube.com/  
www.youtube.com
</code></pre>

<p>Is there any way I can select this text code and open from any browser?
Is there any plugin or any workaround that I can open the given link directly in a web browser (let's say firefox)
from the Geany text editor?</p>

<p>My intitial attempt is like this: </p>

<pre><code>Edit &gt; Format &gt; Send Selection to &gt; Set Custom Commands &gt; firefox
Edit &gt; Preferences &gt; Keybindings &gt; Send to Custom Command 1 &gt; primary 1
</code></pre>

<p>Then, I did following steps:  </p>

<pre><code>selected the text "https://www.youtube.com/"
then press ctrl 1
then, the text "https://www.youtube.com/" vanishes
and, empty firefox is opened
</code></pre>

<p>Note that, however, if I type <code>firefox https://www.youtube.com &amp;</code>
This opens youtube without any error.</p>

<p>My question is can we do something that if I select the text and ctrl 1 opens the same website.</p>

<p>Some related links are following:<br>
 <a href="https://askubuntu.com/questions/312677/how-to-set-custom-commands-in-geany?rq=1">https://askubuntu.com/questions/312677/how-to-set-custom-commands-in-geany?rq=1</a><br>
<a href="http://www.geany.org/manual/#sending-text-through-custom-commands" rel="nofollow noreferrer">http://www.geany.org/manual/#sending-text-through-custom-commands</a>  </p>