[TxMt] Re: TMTOOLS plug-in 0.9 release (for testing!)

Piero D'Ancona pierodancona at gmail.com
Wed Oct 10 17:29:18 UTC 2007


Hans-Joerg Bibiko <bibiko at ...> writes:

> Maybe à la
> 
> "$TMTOOLS" do onKeyDownAfterDelay '{
> 	keylist={
> 		a=A_SHELLCOMMAND;
> 		b=AN_OTHER_SHELLCOMMAND;
> 		};
> 	passEvent=yes;}'

Exactly. 
I was thinking of a triggering mechanism
where you can use multiple key combos:
e.g. CTRL-R in LaTeX means 'run', when I press
it a drop down menu appears (after a delay) like
    b = bibtex
    l = latex
    p = plain
    x = xetex
so for instance CTRL-R + B runs bibtex. If I press
CTRL-R+B quickly the menu does not appear
and bibtex runs directly.

A better example: 
CTRL-D = delimiters
When I press CTRL-D the command waits for a delimiter
(menu after a delay).
CTRL-D + ( -> a menu with a list of sizes appears:
1 = \left(...\right)
2 = \bigl(...\bigr)
So in the end 
CTRL-D + ( + 2
produces \bigl(...\bigr)

Ok, just an idea...
Piero






More information about the textmate mailing list