Hi,
I'm trying to make my TextMate behave more or less in the same way as
emacs (I understand that Meta-x-u and similar keybindings may become
available in the future..)
Until then, I've created the DefaultKeyBinding.dict file (and It
works) but I can't for the life of me find how to issue a "undo"
command.
I really "need" to bind $^- to "undo".
I also "need" to rebind (rather than unlearn) crtl-s to save and
possibly disalble ctrl-x in the process. Can anyone help me with this?
btw. TextMate is great. Bought a license to day.
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
This may have been answered before and I didn't see it. Is there a
reason that the snippets variables/values (not sure what they're
called) can only go to 9?
Mike Stickel
Screenflicker Developments
www.screenflicker.com
p: 403-923-7667
e: mike(a)screenflicker.com
> Why doesn't it come close?
>
> The only advantage I see with the separate window is keyboard support
> for the results, and probably easier to setup the capture stuff, but
> for that I could add a bash function or similar, that one would pipe
> the output through.
That's exactly it, it seems purpose designed for debugging, all the extra
fields for specifying line number, file name and so on, I think its very
clever, getting the same result in the html option is a lot more effort,
plus there's the keyboard navigation thing. I think its one of your best
inventions, is there any harm in leaving it in?
Chris Jenkins
Working in Python I clicked on the 'Tools widget' (is there an
official nomenclature for that? I mean the one with the gears icon
that gives access to the commands and macros...) and it opened up
positioned at the 'Python' submenu.
"That's cool!" I thought, but a quick test with a Textile document
showed that it was just a coincidence pertaining to my particular
list of enabled languages.
So: why no add it as a feature:
when activating the 'tools widget' it will focus on the submenu of
the currently active language.
just my $0.02
best regards,
tom
Hola,
if I well remember, in a previous version of TextMate there was an
html command, in HTML bundle, to tidy the page collecting in she
<style<</style> section all the attributes of the tags into body. i.e.:
<p align="center">hello</p> become <style ...> text-align:
center; </style> in the Head section, and in the bode we have
<p>hello</p>
How can I find this command to insert in the bundle?
Many thanks and regards!
Salvo M.
In looking at the Markdown bundle I came up with the idea that a
dropped HTML file (or snippet) could be run through html2text.py or
similar to generate Markdown formatting. I went to add a new drop
command, but realized I don't know what the approved way to add the
script is -- if there is one. I wil refrain from adding it as a
template file :)
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
Hi,
[novice question alert!]
I would like to tell TextMate that if it encounters a heredoc with the
name 'END_SQL' in my perl script, the text within the heredoc is sql.
For example:
my $rows = $dbh->selectall_arrayref( <<END_SQL );
SELECT name, city
FROM people
WHERE country='nl'
END_SQL
>From
<http://macromates.com/blog/archives/2005/07/06/introduction-to-scopes>,
I get the impression that something like that is possible. But I cannot
get it to work. Can someone hint me in the right direction?
It seems TextMate is the only application I know where it is hard to
find a solution because there are /too many/ information resources:
mailing list, wiki, manual, irc and weblog. ;-)
Thanks
http://nslog.com/textmate
--
__ ____
/ / / __/ Brian Lalor "If you still have gas, you're
not lost."
/ _ \/__ \ blalor(a)bravo5.org -- Jacques Strappe
/_.__/____/ http://bravo5.org/
Hi,
While applescript is not how TextMate does its magic internally, it would be
nice to have some document creation tools, as this is how apps work together
in workflows on Mac.
I'd like to see the following script which works in SubEthaEdit work for
TM.
(*
View Source in SEE
Chris Biagini <http://assortedgeekery.com>
updated Jan. 5, 2005
*)
tell application "Safari"
set mySource to the source of document 1 as string
set myName to name of document 1 as string
end tell
tell application "SubEthaEdit"
make new text document at end of documents with properties {mode:"HTML",
text:mySource, name:"Source of: " & myName}
activate
end tell
Dr Timothy Bates <tim.bates(a)ed.ac.uk>
Reader in Differential Psychology
University of Edinburgh
Dept Psychology
PPLS
7 George Square
EH8 9JZ
wk +44 131 651 1945
FAX +44 131 651 3461
home +44 131 332 3543
Mob +44 790 386 4573
Easy on the flames, boys:
http://www.theappleblog.com/2005/11/18/textmate/
It's a weak review, not even scratching the surface of TM's
extensibility and ease of use, but that kind of review could take
weeks to write. :-)
--
Brian Lalor / blalor(a)bravo5.org
Stewardess: We know you have your choice of bankrupt carriers
and we
appreciate you choosing us.