General Comments/Questions
=======================
1. Textmate's web preview integration with Markdown is awesome.
This feature has drawn me into textmate.
2. I am so tired of bloated Microsoft Word files. Other than the
files that people send you, has anyone adopted Textmate as their
primary text editor? It seems like a fantastic editor for code, but
how is it for someone in education?
Writing a Markdown document in Textmate
=================================
I understand the basic principals of markdown, but typing the code
(albeit, simple) seems burdensome. Is it possible to:
* highlight selected items and add a "*" (bullet) at the beginning
of the list?
* create triggers for the various markdown codes?
Markdown Conversion
=================
I have had great success in putting markdown document on the web.
What are recommendations for converting a markdown document into a
text file?
Thanks,
Stephen
I just discovered TextMate last week and based on user reviews I
decided it was worth a look-see.
I have been using the demo exclusively for the past week in an
attempt to wean off of BBEdit. However I've noticed a couple of
showstoppers for me and I'm hoping I either haven't discovered that
they can be done in TextMate or that someone clever has figured out
acceptable workarounds.
First up, BBEdit has a function under the Search menu "Compare Two
Front Documents" which recognizes which windows are open in BBEdit
and performs a diff between them. I use this all the time, and
usually one of the documents is a remote document being edited via
FTP through YummyFTP and TextMate. The only comparable function I
found in TextMate is within the Diff bundle, however it specfically
requires that both files be in the same project (i.e., local) and
that they be selected in the Project drawer. Since I need to compare
files remotely to files locally this does not do the trick. I tried
reading up on TextMate's dynamic variables, but didn't see anything
resembling "TM_OPEN_FILES".
Can TextMate accommodate BBEdit's "compare two front documents"
function, either through some built-in function I don't know about or
through some external bundle/workaround? If not, is this planned in a
future release?
Next showstopper for me is the inability for TextMate to find/replace
recursively through a directory. BBEdit allows me to select the
directory of my choice, whereas TextMate seems to require that I
define a Project and that only the Project files can be searched. Is
there any way to override that? Any plans of expanding this in a
future release?
Like I said earlier, I'm very tempted to switch from BBEdit to
TextMate, so if either/both of the above "showstoppers" could be
addressed/accommodated it would be a no brainer.
Thanks a bunch.
brian
Hello,
I've been working a little bit on a bundle for writing guitar (and
other) tablature. There's syntax highlighting, there's a "blank
staff" snippet-like command which will respond to a tuning you set
for the whole document, and there are keybindings to insert and
delete blank spaces and bar lines for a whole column, and to fill in
blank space.
Here's a movie: http://www.mdaines.com/system/tablature.mov
It goes a little slow since I'm still experimenting with the key
bindings. Your input is welcome re: that and anything else!
There's a zip archive of the bundle here: http://www.mdaines.com/
system/tablature.zip
Presumably it'll go into a source repository or something soon.
-- Michael Daines
http://www.mdaines.com
In "Re: Disable Re-indent Paste per bundle" Allan Wrote:
> You should know that you can use ctrl-cmd V to paste without
> re-indenting.
Yes, I do know about this.
> But I think it should be easy to add a preference to disable
> it per scope.
That would be fantastic. Sure, *I* know about ctrl-cmd V, but people
who've never used TextMate are unlikely to know what's going on.
Perhaps I'm deluding myself into thinking that there are people out
there who will adopt this bundle without learning all that TextMate
has to offer, but I'm thinking ahead.
My particular case--the screenwriting bundle--has absolutely no use
for this feature, in fact, it gets pretty hairy when pasting large
chunks of text around, especially since the language depends, not on
markup for it's scope definitions, but indentation.
I know you can disable the re-indenting of text for textmate as a
whole, but how is this done on a per-bundle basis?
I remember Allan mentioning something about a "commands.plist" file,
but I can't find a reference for exactly what that is.
Thanks in advance.
Hi. When using "Edit in TextMate" in Mail.app, the edited text is not
copied back to the original window when saving and closing. However,
"Edit in TextMate" does work when using MarsEdit.
I assume that there something is up with my Mail.app - has anyone
else seen this?
Best wishes /Marcus Ahnve
--
Marcus Ahnve
marcus(a)ahnve.com
Hi,
I'm currently working on an article, together with some other authors,
so we thought it wise to split it up into separate files, and then one
main file, where all the others are \input-ed.
Works great, and the TM_LATEX_MASTER variable makes life a little bit
easier.
However, it turns out that support for this variable is a bit sketchy:
- Using a full path in that variable breaks everything. Escaping a full
path in quotes breaks it even more.
The "Typeset and View" command normally constructs the filename and path
itself, and assumes a clean input, but this breaks when the value of
TM_LATEX_MASTER is used directly.
- If you just give a filename (and the file is in the project root),
then "Typeset and View" can at least build the file. Viewing it breaks,
because file://localhost/${TM_LATEX_MASTER%.tex}.pdf can not be found.
(the variable is properly expanded in the URL, the file just can't be found)
I tried to look into it, but I couldn't really figure out how to get it
to work properly. I hope someone else here has some time and is willing
to look at it.
Regards,
Jeroen.
Those of who you fear the SVN instructions for getting bundles, run away
now.
There are several nifty bundles out there that for one reason or another
aren't in the official subversion repository. To update them, you have
to remember to do an 'svn update' for each one. Isn't there an easier
way? Yes. Yes there is: svn:externals[1]
cd "/Library/Application Support/TextMate"
svn propedit svn:externals Bundles
This will popup your chosen editor. Now simply enter the name of the
bundles you want updated followed by a space and then the path to
their subversion repo. For example, here's my (short) list:
tAylott_subtleGradient.tmbundle http://textmate.svn.subtlegradient.com/Bundles/tAylott_subtleGradient.tmbun…
RubyAndRails-Experimental.tmbundle http://www.eyematz.com/svn/public/TextMate/RubyAndRails-Experimental/RubyAn…
Note that those are only two very long lines. Save your changes and
leave your editor.
Now when you do an 'svn update', it'll automatically fetch changes for
the other bundles as well.
Caveat emptor for those of you with commit access: make sure you don't
accidentally check in the property changes. We mere mortals don't have
to worry about this. ;)
[1]: http://svnbook.red-bean.com/en/1.0/ch07s03.html
--
eric
These Apples are delicious
Hi all,
I've written a ruby script that will tidy-up a series of assignment
statements by lining up the equals signs. Installed as a command in
TextMate, it can reformat all assignment statements in the current
selection, or all assignment statements conitiguous to the current
line. Note that the script assumes you uses spaces, not tabs; and I
wrote it last night, so there may still be bugs. :-)
Anyway, if you are interested, you can find more details and the
script itself at:
http://random-dreams.org/2006/05/fun-with-textmate-align-equals-in.html
Regards,
Chris Poirier.
I had to do a little work with ASP (not ASP.net) today and I was surprised
to see that Textmate did not come with an ASP bundle. So far, my Google
searches havn't found any ASP bundles, so I was hopeful that the Textmate
community could help me.
Can someone point me in the right direction?
Thanks in advance!