[TxMt] Could we change the menu under which macros/snippets/commands are shown?
Lang Riley
lang at langriley.com
Fri Jan 7 19:28:39 UTC 2005
Chris,
Bundles, which Custom.tmbundle is an example of, are really just
directories on your hard drive. The snippets and commands you created
currently reside in the Custom.tmbundle directory under Snippets and
Commands respectively. In order to organize them into a different
bundle, HTML for example, you need to move the file that represents
each snippet, command, syntax, etc. that you want reorganized to the
analogous directory in the HTML bundle via 'mv <filename> <new
analogous bundle path>'. This will cause them not to show up in the
Custom bundle, but in the bundle you have chosen. The TM docs tell
where the bundles are located, but you can do a simple, 'find / -name
Custom.tmbundle -print' on the command line to find out. You will do
best to use the terminal for this operation.
Let us know if you need more direction.
On Jan 7, 2005, at 10:06 AM, Chris Brierley wrote:
> I love the new mode-based menu interface for macros/snippets/commands.
> What I'd really love is if I could control which mode menu they show
> up in.
>
> For example, I've made a couple of commands that are related to HTML.
> However, since I've made them myself, they show up under the "Custom"
> menu, when I'd really like them to be under "HTML". Maybe, like with
> the syntax files, a "mode" key could be added to the
> macros/snippets/commands plist files where I could specify which mode
> they should be a part of?
>
> What do you think? Thanks much.
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
More information about the textmate
mailing list