On Jan 19, 2008 11:49 AM, Jeff Pohlmeyer yetanothergeek@gmail.com wrote:
On Jan 17, 2008 11:25 PM, John Gabriele jmg3000@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