[Geany] GeanyLua plug-in "prefix" key?

John Gabriele jmg3000 at xxxxx
Wed Jan 23 06:05:56 UTC 2008


On Jan 19, 2008 11:49 AM, Jeff Pohlmeyer <yetanothergeek at gmail.com> wrote:
> On Jan 17, 2008 11:25 PM, John Gabriele <jmg3000 at gmail.com> wrote:
>
>
> > For example, you could use the letter 'r' to reach
> > `reverse.lua`, and get to it by hitting a prefix key
> > combo like, say, Ctrl-!. The whole command would
> > then be: Ctrl-! r (hit Ctrl-!, release, then tap 'r').
>
> I added a new keygrab() function to the Lua plugin, that
> when called, it intercepts the next keystroke from Geany,
> and returns it as a string, like "a" or "Escape".
>

Sweet! Thanks Jeff. Works nicely for me, though I had to use full
paths to name the scripts that get activated (I put some notes on it
in the Plug-ins section of my tiny online Geany notes:
http://www.milliwatt-software.com/jmg/notes/geany.html ).

---John



More information about the Users mailing list