-----Original Message----- 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?
Generally, when I want to change a key command, how can I track it down without searching manually through every bundle? thanks, -Morgan
Sorry, forgot to answer the more general question: to find a given bundle itme, usually the quickest thing to do is hit Control-Shift-T, and start typing what you suspect the name is, and find it in the list. Alternatively, you can go to the Help menu's search feature, and do something similar, although you'll be searching everything in the menu system.
As a more extreme approach, you might be able to open up TM's support folder as a TM project (in a TM document, type
mate "~/Library/Application Support/TextMate"
And press Control-R)
And do a Find in Project for terms that are involved in your search...a more intimate knowledge of the way bundles work is going to be helpful to get something out this kind of search, but at this level you can actually search key equivalents and source code of the snippets/commands themselves...by the way, a search of "@" (which is the way TM write Command-Left in the bundle stuff) reveals nothing in my bundle files, at least.
So, good things to know for a hardcore TextMate user.
+dru