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).

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.

I could already think of a few uses for this feature:
1. Show in file manager - `xdg-open %s`
2. Open terminal - `myterminal %w` (working directory or file's parent 
directory)
3. Open file in external program

Hopefully it is not too hard to implement, it may even be implemented as a 
plugin :smile:

P.S I am aware that there is a "Send selection to custom command" but that 
really isn't the same feature.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2764

Reply via email to