[TxMt] Auto-completion activated by caps lock + A

Jenny Harrison harrison at Math.Berkeley.EDU
Sun Sep 16 18:07:57 UTC 2007


Hello everyone,

Auto-completion of text is marvelous, but I have to decide each time  
whether it is worth the trouble to reach all the way up to esc.  For  
me, this requires taking my left hand off the keyboard. I wanted to  
remap caps lock to esc but have not been able to find this anywhere.   
(Do any of you know how to do this?)   I have worked out a little fix  
that approximates this ideal.

1.  Remap caps lock to ctrl via System Preference -> Keyboard & Mouse  
-> Keyboard -> Modifier Keys.

2. In Quicksilver, make a trigger to activate Next Completion from  
the TextMate Menu.  (Current Application (tab) Show Menu Items   
(enter) and type Next Completion).  I use control-A for my trigger so  
the hand motion is minimal.   (Be sure to hit caps lock before A,  
though!)

For this to work, be sure to turn on Proxy Objects under Quicksilver - 
 >  Preferences ->  Catalog, as well as Enable Advanced Features  
under Preferences -> Application.

Now auto-complete to your heart's content!

Jenny

Department of Mathematics
University of California, Berkeley 



More information about the textmate mailing list