>> 1. A better place than "Edit" > "Format" > "Send Selection to", which
>> is difficult to access.
>
> It's also in the editor popup menu, and keybindings can be assigned for
> the first 3 actions. What else do you suggest?
Toto could be replaced by its own submenu.
In a second step, a new menu may be created containing these "Custom
commands" and any macros?
In fact, 1. is not so important...
However 2. would be very useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What I would very much have use for, is a new menu entry
Edit > Format > Send Selection to > Command
This, keybinded to my liking, would pop up a simple "Go to Line"-style single-input-field dialog where I input my custom command which is, for a change, not saved into my custom commands as it is only run once. Everything else being equal (namely replacing the selection with stdout).
(Ok, with respect to the OP, there could be an additional checkbox on the dialog, "Send output to a new buffer.")
That way, I could easily pass the selection to any command I wished (awk, grep, cut, pastebinit, sort, ... come to mind), without going through the hassle of permanently adding the custom command (which I will only use once in a blue moon anyway).
That way, Geany becomes sort of a buffered shell.. a shell with an active buffer. Surely Emacs (or vi) has something like this. I hate Emacs. :<
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1. A better place than "Edit" > "Format" > "Send Selection to", which is
> difficult to access.
It's also in the editor popup menu, and keybindings can be assigned for the first 3 actions. What else do you suggest?
> > 1. A better place than "Edit" > "Format" > "Send Selection to", which is
> > difficult to access.
> It's also in the editor popup menu, and keybindings can be assigned for
> the first 3 actions. What else do you suggest?
>> 1. A better place than "Edit" > "Format" > "Send Selection to", which
>> is difficult to access.
>
> It's also in the editor popup menu, and keybindings can be assigned for
> the first 3 actions. What else do you suggest?
Toto could be replaced by its own submenu.
In a second step, a new menu may be created containing these "Custom
commands" and any macros?
In fact, 1. is not so important...
However 2. would be very useful.
> Toto could be replaced by its own submenu.
I mean: "Format" > "Send Selection to" could be replaced by its own submenu.
[HS] Can we delete or modify one of our comments here?
What I would very much have use for, is a new menu entry
Edit > Format > Send Selection to > Command
This, keybinded to my liking, would pop up a simple "Go to Line"-style single-input-field dialog where I input my custom command which is, for a change, not saved into my custom commands as it is only run once. Everything else being equal (namely replacing the selection with stdout).
(Ok, with respect to the OP, there could be an additional checkbox on the dialog, "Send output to a new buffer.")
That way, I could easily pass the selection to any command I wished (awk, grep, cut, pastebinit, sort, ... come to mind), without going through the hassle of permanently adding the custom command (which I will only use once in a blue moon anyway).
That way, Geany becomes sort of a buffered shell.. a shell with an active buffer. Surely Emacs (or vi) has something like this. I hate Emacs. :<