Menu

#275 "Custom commands" improvements

open
nobody
None
5
2014-01-26
2009-05-07
Jorjiah
No

1. A better place than "Edit" > "Format" > "Send Selection to", which is difficult to access.

2. Optionally, the output could be sent in a new document rather than replacing the selection.

I am currently using version 0.16 on Ubuntu Jaunty (9.04).

Discussion

  • Nick Treleaven

    Nick Treleaven - 2009-05-08

    > 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?

     
  • Jorjiah

    Jorjiah - 2009-05-08

    > > 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?

     
  • Jorjiah

    Jorjiah - 2009-05-08

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

     
  • Jorjiah

    Jorjiah - 2009-05-08

    > 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?

     
  • londero

    londero - 2014-01-26

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

     

Log in to post a comment.

Auth0 Logo