On May 4, 2009, at 8:00 AM, textmate-request(a)lists.macromates.com wrote:
> Does the presence of "HTML.tmbundle" just mean that I made some
> customization to it, and removing it will restore TM to the default in
> that particular bundle? What do you suggest so I am using your new
> bundle, and the default TM one?
That's right. To get a clean version, just removing HTML and mHTML in
both folders (if you have one in both folders) and restarting should
do the trick.
> Looking at your bundle, looks nice, thank you.
> Take the <br /> for example, I made my own at some point in the past,
> using this:
> This allows the XHTML closing style to be preference defined, not hard
> coded in. What do you think about applying that to all applicable
Sounds interesting, but to be honest, I do everything in XHTML, so I
probably won't spend the time to get the bundle to be both HTML/XHTML
ready... unless I go back to HTML for HTML 5, which is not impossible :)
> I see perhaps some left over testing items, there are "cite copy" and
> "code copy", not sure if those are intentional.
This is actually on purpose and is there to add a extra tab trigger
(as far as I know, you can't add to different tab triggers to a single
snippet...). The idea was that, although the bundle works by typing
the 3 first letter of an element for all tab triggers, I'm guessing,
for four letter words it might be more intuitive to be able to type
"code" than "cod" so both are available... hope that makes sense.
I've updated my HTML bundle to be it's own bundle so it doesn't
overwrite the default's HTML bundle anymore. I also rewrote the
commands in Ruby to make it easier to read+ customized and improved
snippets. Info there:
Let me know if you manage to break anything ;) Or if you'd like to see
PS: I'll be updating my CSS bundle to be its own bundle too, soon...
But there are so many snippets in that one, it'll take a little
call it good or bad, I'm using soft tabs (spaces) for just about
everything. The shop I work in doesn't even allow tabs in (most) source
files. Soft tabs in TextMate work great – except that I really need hard
tabs (just like everyone else) in Makefiles. So, what I currently keep
doing is to copy&paste a tab character from some other place. I'd really
love to tell TextMate to use hard tabs for everything in scope of the
Makefile bundle, without changing my global setting. Is that possible?
(If yes, why is it not active in the Makefile bundle?) Will it be
possible in 2.0?