> I have this in my .bashrc:
> tm () { open -a TextMate.app "$*"; }
Which is a nifty trick, but it can't act as your EDITOR for things like
svn. I love not having to write my commit messages on the command line
anymore :)
I place the tm program in /Users/yourname/bin which means make a new folder named bin. You will have to then create .bashrc on /Users/yourname and add PATH="~/bin"
EXPORT PATH
to the .bachrc file. You can make the file in TextMate.
Ott over at the codingmonkey's site (Subethaedit) has a subversion binary to install.
John Kopanas <john.kopanas(a)protoseinc.com> wrote:
__________
>I just installed 10.4 from scratch and I forgot how I installed 'tm'
>the first time... can someone please remind me? :-)
>
>While I am at it anyone know where I can get Subversion from 10.4?
>
>Thanks guys and gals!!! :-)
>______________________________________________________________________
>For new threads USE THIS: textmate(a)lists.macromates.com
>(threading gets destroyed and the universe will collapse if you don't)
>http://lists.macromates.com/mailman/listinfo/textmate
yeah, I know, it's me again ;-)
I'd like to point out, that it is exactly a tribute to how great and
useful TextMate is (for me) that all I'm requesting are such tiny
little nitpicky features, so I hope I don't come across as
unappreciative!
anyway: I'd really like to have a quick, no-brains-involved method to
toggle between the textfield and the project drawer via the keyboard
- I do it a million times a day and I don't want to use the mouse for
it (RSI, anyone?)
currently i can use ctrl-tab to tab *out* of the text area (great!)
further ctrl-tabs cycle through the action widgets at the bottom
until it finally drops me off in the text area again.
while i can use shift-tab to get back immediately, this isn't very
economical IMHO to move back and forth quickly.
so, my proposition: ctrl-tab to toggle between textarea and project
drawer, shift-tab to cycle forward through textarea, projectdrawer
and widgets, and ctrl-shift-tab to cycle backwards
or any other alternative that allows me to toggle with one key-combo ;-)
best regards,
tom
--
Tom Lazar
http://tomster.org
I am running TextMate 1.1b5
I downloaded the Rails bundle from here:
http://wiki.rubyonrails.com/rails/show/TextMate
I double clicked. It installed. I restarted TextMate. When I looked
in snippet there was no category for Rails. How can I get it to
install properly?
Thanks for your help my friends.
John
hi,
I'd like to request, that the language display in the statusbar could
also act as a widget to change the current language, because often
the automatic detection can't come up with the correct language and
it would make an often-used feature more accessible without wasting
screen real-estate or otherwise cluttering things up.
any comments?
best regards,
--
Tom Lazar, http://tomster.org
ok, I just don't get it: *sometimes* when pressing the ctrl-shift-a
key I get the neato little popup with all the svn-related commands
(which is what I want) and *sometimes* I get the status popup (which
is usually *not* what I want).
I just can't seem to figure out the system behind it - or more
importantly how to make it *always* present the popup.
any ideas?
best regards,
tom
--
Tom Lazar
http://tomster.org
Ok,
I just have to say, WOW. I get it, I have drunk the cool aid and I am in
heaven. I started using TextMate for a new project, I have been a faithful
beliver in the 'it doesn't suck' BBEdit for as long as I can remember (I
have CD's back to at least 3.0), but I think that app may begin to get more
and more idle time...
The power of this app, tied into the command line and other goodies is only
hurting my productivity in that I keep streamlining my work process, and
tuning it, and tweeking it, oh who knew a text editor could be FUN! Thank
you to every one who has contributed to the commands and snipits, and the
syntax files.
One question though, is there a way to print out a pretty (enough) list of
the snipit triggers for a particular syntax?
this is one app that is so worth registering. Wicked!
Sam D
hi
I hate whitespace at the end of lines or files, so I wondered if
there's a way to automatically remove those. I could probably define a
command to do this, but I still would have to start it manually.
IMO it would be nice if TextMate allowed running commands on certain
events, especially on saving the current document. This would not only
solve my problem, but would also allow other maybe useful automatisms
like automatically re-building a project on saving or something like
that.
What do you think about this idea?
--
bye, Frank!
hello,
first: I know, I can adjust this locally myself - but then I'd have
to re-do that, everytime the XMLBundle gets updated (or - from my
understanding - my modifications would overrride any future updates
to the XML Bundle in which case I'd have to forego them...)
my request: pls include the following suffixes for the XML-Language:
.pt
.cpt
.dtml
.xsl
the first three come from Zope development and AFAIK don't conflict
with any other suffixes.
I'm sending this to the list, because I couldn't figure out, who
'duff' is, the user committing the most recent changes to the bundle
(Brad Miller?!)
best regards and thanks,
tom
Hey all,
i am new to the list and have some problem with TextMate using version
1.1b5.
Sometimes the project drawer collapses the view i.e. when i update my
local repository from a subversion module which i added to the drawer.
Is this a known bug and will this be fixed in the future? Or is there
already any hidden setting addressing this behaviour?
Thanks a lot for this great editor.
.bjoern
Seeing that b6 was out although unofficially, I've downloaded it, moved
away my ~/Library/Application Support/TextMate, put the svn checkout of the
latest bundles in /Library/Application Support/TextMate/ and...
nothing.
Lotsa beeps going on on startup and all files are showed using the language
called 'Ruby on Rails' even though it is not a Rails project at all.
Nothing is highlighted of course.
Any idea? I did re-checkout from svn as the path has changed.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005
I'm obviously just not looking in the right place but can anyone tell me how
to type this character:
^
I've looked in the keyboard viewer and thought it was command+option+i but
that only shows the invisibles in TM. I've seen it in the Character palette
but would rather be able to type it instead of opening that palette each
time.
Feel free to answer off list.
Thanks,
Mike Stickel
Screenflicker Developments
www.screenflicker.com
p: 403-271-9118
e: mike(a)screenflicker.com
Hi,
Would it be possible to have scope show up for the current position in
the status bar, along with line, column and language? IMO it would
probably make theming etc a lot easier.
Max
hello, is it just me, or is the Python bundle broken?
- I deleted ~/Library/Application\ Support/TextMate
- I deleted the Bundles directory inside TextMate.app
- I checked out svn/Bundles/trunk at /Library/Application\ Support/ and
created a symbolic link 'TextMate' to 'trunk' (it was the only way to
get the bundles recognize)
now, python source files are uncolored, eventhough the files are
correctyl recognized as Python code.
any ideas?
tom
p.s. thanks for the ^m command for markdown, whoever that was!
--
Tom Lazar, http://tomster.org
I like the new changes to the pdflatex command. However, for it to work
on my system I had to go back to Apple's apache rather then the apache
2 WebServerXKit I installed. So I made a nominal change to the html
path and include it here if anyone is interested:
# If PDF file is non-empty and apache is running, redirect.
if [ -s ${tmp}.pdf ] && [[ $(ps -xca|grep httpd) ]]; then
cp "$tmp.pdf" /usr/local/apache2/htdocs/web_kit_workaround.pdf
chmod 666 /usr/local/apache2/htdocs/web_kit_workaround.pdf
echo
"<script>window.location='http://localhost/web_kit_workaround.pdf'</
script>"
elif [ -s ${tmp}.pdf ]; then
echo "<strong>Error: Apache not running (we can no longer redirect
to file://localhost/...)</strong>"
else
echo "<strong>Error: PDF file not written to disk</strong>"
fi
Otherwise, beta6 is working great in LaTeX
Robert
My textmate freezes on startup! No idea why... except I was using it
last night when it started behaving strangely... clicking on the buffer
tabs wouldn't do anything unless I clicked on the topmost 2 or 3 pixels
of the tabs.
Things started getting generally screwy, so I saved the project and
restarted textmate... and she hasn't launched successfully since.
Any ideas?
Cheers,
jL
Certainly, this might an odd request, but is there some way to delete
line breaks (\n) in a text document? Or, only when there are two in a
row (double spacing)? I'm trying to clean up some large files and it
would be easy if I could plunk our large sections and take out the
double returns.
Thanks, v
I posted this to the wiki, I think it was missed, and I thought it
might be good to bring up here anyway for fuller discussion.
It would be great to have the option of buying a noncommercial or
student license for TextMate. I bring this up because I would benefit
(qualifying for both myself), but also I think that this is something
you should consider because it might bring in more total revenue via
added registrations you would otherwise not get.
Hi,
I recently played around with The Remembrance Agent
(http://www.remem.org/) and Carbon Emacs. Remem (as it's commonly
called) is a pretty nifty associative memory prompter originally
designed to work with wearable computing devices, with an Emacs
frontend. The idea is that it scans the text you type continuously and
suggests related files from a database you've specified. As the core
of the system consists of two non-Emacs-related binaries, I was
wondering if it would be possible to duplicate the Emacs frontend in
TextMate? Given TextMate's HTML display capabilities, it would be nice
to have a little window at the bottom of the screen with clickable
links to files that are related to whatever I'm working on at the
moment.
This is the kind of thing you're unlikely to see in a word processor,
and would effectively duplicate a lot of the functionality of
DevonThink (http://www.devon-technologies.com/products/devonthink.php).
People have been raving about associative memory apps for years, but
they haven't really come into their own yet. TextMate might be a fun
playground to try it out.
Speaking of things which Emacs has but TextMate doesn't at the moment,
how about abbrevs? I'd like to be able to replace common misspelled
words (the for teh and so on) automatically, and under Emacs I have a
big abbrev file that does this. Could one do this e.g. with input
patterns?
Just brainstorming here, thanks for your patience...
- Hannu Rajaniemi
Working with Mark Smith an a context bundle I am trying to get the same
html output as generated with the latex bundle but I am having troubles
calling the PDF into the browser.
Here is what I have, a hack of the LaTeX bundle:
# PDF ConTeXt
# Save Current File
# Input=Entire Document
# Output=Show as HTML
# this requires pdflatex Web2C 7.5.3
# Below are the instructions for the html output of the texexec run
command
cat <<EOF
<html><head><style>
* { color: #998; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
</style></head><body><pre>
EOF
# below is the name for the temp file called by texexec
tmp=`mktemp /tmp/texexecpdf_XXXXXXXX`
# If TM_LATEX_MASTER not set use TM_FILEPATH
[ -z "$TM_LATEX_MASTER" ] &&
export TM_LATEX_MASTER="$TM_FILEPATH"
# Here is the actual command followed by the perl script to find the
output.
cd `dirname "$TM_LATEX_MASTER"`
texexec --pdf --nonstop /tmp\ `basename ${tmp}` `basename
"$TM_LATEX_MASTER"` \
| perl -pe '$| = 1; s/^(\/.*?):(\d+):\s*(.*)$/<a
href="txmt:\/\/open?url=file:\/\/$1&line=$2">$3<\/a>/'
# If PDF file exists and not empty, display it. This is were I loose it!
[ -s ${tmp}.pdf ] && echo '</pre><meta http-equiv="Refresh"
content="0;URL=file:///'${tmp}'.pdf">'
{ sleep 30; rm ${tmp} ${tmp}.*; } </dev/null >/dev/null 2>&1 &
The command runs fine and displays the log file as it should, but does
not load the PDF. At the end of the context log, the output that
texexec registers is:
Output written on c_position_authority.pdf (1 page, 7354 bytes).
This is the name I gave to the original file, not texexecpdf.xxxxxxxx.
Should it be?
Transcript written on c_position_authority.log.
return code : 0
run time : 2 seconds
sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : c_position_authority.tui
output file : c_position_authority.tuo
I am using Web2c 7.5.4
Any suggestions?
Thanks
Robert
I believe I've found a bug with the column typing environment in TM.
Take a set of lines, e.g.
Example one.
Example two.
Example three.
Now, say you want to change that to
Text example one.
Text example two.
Text example three.
So you select the first two lines and hit option to go into column
typing for prepending to all of the lines, and you type "Text ", this
gives you:
Text Example one.
Text Example two.
Text Example three.
Now you want to change the capitalization on "Example", so you hit
forward delete[1], and type in an "e". But instead of getting what you
want, you get:
Text example one.
Text eExample two.
Text eExample three.
That is, forward delete (unlike backspace) only affects the line with
the cursor in it, and not all of the lines in the column. I assume
this is a bug, and not some logical behavior that I just don't
understand, right?
[1] Note, I'm working on an old PowerBook, so I'm using fn-delete for
forward delete.
William D. Neumann
"You've got Rita Marlowe in the palm of your hand."
"Palm of my hand? You haven't seen Rita Marlowe..."
-- Will Success Spoil Rock Hunter?
So, I'm finally getting to the point that I'm really starting to play
around a bit with the automation aspects of TextMate. I think that I
found a bug, but I want to confirm.
I created a macro, which through the course of its steps utilizes a
snippet. The snippet has default values, which I'm also using, because
it's a very repetitive task. The idea behind this, is that when I got
to a different spot in the code that I'm working on, I would change the
snippet defaults and keep using the macro.
What appears to be happening instead, is the old default values are
used instead of the new ones. When I use the snippet manually, the new
values I put in are still used. Is this a bug, or is my expectation
wrong?
(this is on b5 btw)
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I'm new to TextMate, so please point me to the fine manual if I'm
missing something obvious. I've poked around the mailing list and
documentation but couldn't find anything related. I'm using 1.1b5
currently, but would switch back to 1.0.x if that helps.
As part of switching over to TextMate I'm trying to set up a TextMate
command to do some text processing. I have a project defined that has
multiple text files and a TextMate command that may modify some or all
of the text files in that project when it executes. The command first
saves all of the files in the project. It then runs a Python script
with no input and discarding any output.
TextMate, unfortunately, doesn't seem to check to see if the current
file was changed after the command executes. If I switch to another
file in the project and then back to the original file it will notice
that the underlying file has been changed. But if I forget to switch
back and forth it will end up causing a conflict between the file in
memory and the file on disk.
In short, is there anyway to force TextMate to check the "freshness" of
a current file after executing a command?