<p></p>
<p>Hi, I just thought about this feature though I am sure many others might have come up with the same idea, I could not find a related ticket here so I am posting it for the first time (forgive me if I missed the duplicate).</p>
<p>The basic concept is that there will be a new section in the menu for custom labelled commands, which will execute user-defined commands, with the option of having some wildcard options to replace with the current file's path or parent directory, work directory etc.</p>
<p>I could already think of a few uses for this feature:</p>
<ol>
<li>Show in file manager - <code>xdg-open %s</code></li>
<li>Open terminal - <code>myterminal %w</code> (working directory or file's parent directory)</li>
<li>Open file in external program</li>
</ol>
<p>Hopefully it is not too hard to implement, it may even be implemented as a plugin <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p>
<p>P.S I am aware that there is a "Send selection to custom command" but that really isn't the same feature.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2764">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4OOWI54TD4S6LO54DTDWVEHANCNFSM4ZF6H7CA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2BAZE3HCOL6XI54ODTDWVEHA5CNFSM4ZF6H7CKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MMPOB3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2764",
"url": "https://github.com/geany/geany/issues/2764",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>