I am new to TextMate and have spent a good chunk of the day getting familiar
with its automation capabilities and trying to do the following. I would be
grateful is someone could point me in the right direction or tell me it's
I read XML files from a particular schema on an ongoing basis. There's a
lot of clutter that I manage by folding certain tags. There are about half
a dozen tag names to be folded and each occurs several times (the number of
times varies), so it is a pain to have to do this by hand every time.
I was hoping I could write a command or macro or something that would
automate the process for me. I got as far as creating a macro to search for
one of the tags and fold it. But now I want to do that for
all occurrences of that tag and the other tags on my "fold list". Can't
figure it out.
Is there a way?
For some reason despite having “Check spelling as you type” selected,
spellchecking no longer happens for me, except in ‘plain text’
documents. In an HTML document I don’t get any red underlines,
selecting Check Spelling gives an error beep, and Show Spelling &
Grammar doesn’t find anything to change. Changing the document’s
language to plain text gives me red underlines, but also for all HTML
Can anyone tell me what I should check to troubleshoot this? Thanks in advance!
peace - oli
Dear TextMate experts,
I have a file with a certain extension. In the folder where this file is located, there is a file with the same name but extension .pdf. How do I create a command that removes the .pdf?
My first trial was this (bundle editor):
1) Save: Current File
2) Command(s): rm "$TM_FILENAME/Rd/pdf"
3) Input: None
4) Output: Discard
So I guess 2) is the problem. How can I replace the file extension by .pdf?
First off, let me tell you how much I respect you. You've created a
tremendously valuable product which has literally logged more than a 1000
hours of usage for me. I've enjoyed extending it (RubyAMP, Git textmate
bundle, contributing to many more), and have really gotten full leverage out
Now the sobering part.
Things have been awfully quiet about TM2 for the last several months. You've
claimed you are still working on it, but I've just about lost hope. There
are no signs to reinforce my faith that TM2 will ever become a reality.
I use both Emacs and VIM. There are many strengths that TM has over it, so I
still consider it to be a superior editor in many regards. Some of these
I've articulated in my blog post,
I can't help but wonder if your promise of "free upgrades" has blasted a
crater in your motivation to work on TM2. Is there a possibility of this,
Allan? If so, I would suggest the following:
* Release a version of TM as TM2 with all the critical bugs fixed. Everyone
gets their free "upgrade" (except the macheist users as you've previously
stated). Perhaps include one or two new features.
* Post a public apology for over-promising TM2 features, and state that you
miscalculated how much you would be able to include in it as a free upgrade,
and from a business standpoint it's impossible to fund all of new
development as a free upgrade. Say you are terribly, terribly sorry, that
you are doing your best, and hope that people will be forgiving. (I know I
* State that TM3 will be released with those features, and will be a paid
upgrade for everyone.
I would prefer to have a paid upgrade to TM3 than a non-paid non-existent
upgrade to TM2. Right now I can't pay any price to upgrade to TM2.
I think you have a shot at this to make this a profitable move for yourself.
Lots of people still use TM and many may come back. If my hunches are
correct, then I plead from you: don't sell us all short by selling yourself
With the highest respect I'm capable of,
Having just switched to TeX Live 2009, I'm experiencing a problem with synctex. Jumping from Skim to my LaTeX works fine, but "Jump to Current Line in Viewer" throws me the message
<div id="commandOutput"><div id="preText">
pdfsync.sty must be included to use this command
or use a typesetter that supports synctex (such as TexLive 2008)
but then jumps to the correct line when I next typeset. On my laptop at home, where I've only ever used TeX Live 2009, things are working as they should.
I suspect the answer is simple, but having fiddled around for some time, I was unable to fix it. Does anyone have any thoughts?
Thank you Allan,
sorry what I meant was I had added some bundles myself the previous week
(although not a PHP bundle) so I deleted those bundles.
In the event, I fixed things yesterday by reinstalling the application in
full after deleting it and any associated files I could find and this
Any info on what the error meant?
> But will this actually cause ^h to start working? On my machine,
> TM's ^h
> for Ruby has been broken for years (because it relies on fastri, which
> as far as I can tell is no longer supported because the ri format has
> changed). I just assumed it was broken for everyone. Are you saying
> ^h still works for you? m.
I've found this patch:
at the end of the post (downloadable attachment).
It seems to work with TextMate 1589, jruby 1.5.1, and also in
Terminal, on Mac OS X Leopard.
updated some bundles last week and now my PHP bundle is behaving very
each time I type a left parenthesis i.e.
it gives me the error "please cache your project first"
and does not type the parenthesis, making it impossible to use.
I have deleted all bundles added and when I deleted the PHP one, the error
went away, but obviously I still need the PHP bundle back! When I tried ti
again I got the error.
Is there an alternative PHP bundle I could try or is it something else?
my textmate is up to date and the php I installed through get-bundles and it
is default one.
Mac Os 10.5.6 intel mac.
many thanks to anyone who can help me shed light on this matter!
with more and more of the bundles moving from SVN to GIT, I was wondering what would be the most convenient way to keep your bundles updated? I used to to have an SVN checkout of TM's bundles and to update I could simply do a 'svn update all' in the command line and all bundles were updated.
Is there a simple way to this with GIT as well? With the GetBundles bundle it only seems to be possible to do the update by individually looking at each installed bundle for an updated version and then installing this. Or am I missing something here?