Cool. Thanks a lot!
-m-
From: Morgan Packard
Sent: Wednesday, March 03, 2010 12:40 PM
To: textmate@lists.macromates.com
Subject: [TxMt] How can I find where a snippet/macro/command is defined?
Command-Left isn't defined by a bundle, it's part of the app itself. You can create a macro, though, that does the same thing, and assign a shortcut for that. So, command-Left would still exist, but you can supplement it with Command-Comma.
Hello,
Currently, apple-left takes me to the end of the line. I'd like to change it so apple-comma takes me there. That way I don't have to search for the arrow keys. How can I find where this is defined? Generally, when I want to change a key command, how can I track it down without searching manually through every bundle?
thanks,
-Morgan
Do this:
Choose Bundles > Macros > Start Recording
Press Command-Left
Choose Bundles > Macros > Stop Recording
Choose Bundles > Macros > Save Recording...
In the Bundle Editor, type Command-Comma in the "Activation: Key Equivalent" area.
Close the Bundle Editor, and you should have your shortcut.
It's probably possible to write a plugin to change the Command-Left to something else, but that's beyond me. Hans seems to enjoy those challenges, though...
+dru
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate