Hello everyone,
On my french AZERTY keyboard, some keys are dead by default. This
includes the ‘^’ key and is necessary for circumflexes such as î or
ê. However, when in math mode, circumflexes are seldom needed; in
math mode, I'd rather have the ‘^’ not dead, in order to easily type
exponents. Worse, in fact TM behaves strangely when one tries to type
a character which can't be circumflexed, it doesn't display anything:
when typing ‘^{’ on my keyboard, nothing appears.
So I though the easiest solution would be to override the ‘^’ key
with a snippet in scope string.other.math.latex, but the shortcut
doesn't seems to work. Any other solution?
Oh, and while I'm at it. I found it really useful to bound a ~
snippet to alt-space - ~ is a dead key too on my keyboard. I was
wondering if it was worth including this in the LaTeX bundle. And the
X ~> \Xi command completion is lacking in my version of the package.
Why is that?
As always, thanks for your help,
Édouard
Hey guys,
I am right now trying the out TextMate and it seems pretty awesome.
I do have a Problem with using my old pything files with TextMate. They are
all indented by whitespaces and not by tabs. So when I add a new line with
TextMate, the python script won't run anymore, since TextMate indents by
using tabs.
So I would either have to convert my python scripts to use tabs or tell
TextMate to use whitespaces.
How would I achieve one of the above?
Regards,
Samy
--
View this message in context: http://www.nabble.com/Question-about-python-indentation-tf4646652.html#a132…
Sent from the textmate users mailing list archive at Nabble.com.
Some frequent discussion topics on this list are:
1. How do I use TextMate's cool project features when my directory is
on some other machine? Or…
2. I've created a TextMate project out of a directory on some other
machine, but now Subversion is broken. Or the extremely common…
3. I've created a TextMate project out of a directory on some other
machine, but every time I switch to TextMate, there's this huge delay.
I've had all of these problems myself and have developed a bundle to
work around them.
<http://kendra.oit.gatech.edu/remote_project_bundle.zip>
The intro in the bundle's documentation sums it up nicely:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
## About This Bundle
### The Problem
You want to work with files in a TextMate project on the local
filesystem (for speed, Subversion compatibility, and other reasons),
but the files you're working on are useless unless they're on some
remote machine. This is most common with web based projects where the
code only works on a sever that has been configured in a particular way.
### Who This Bundle Is For
This bundle is meant to support a workflow where all (or almost all)
changes are made locally using TextMate, while all (or almost all)
viewing/running/testing of those changes will be done on a remote
machine (such as a web server).
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
For more details, run the bundle's Help command. If anyone uses this,
send suggestions to me or to the list. I'd like to go through a
couple of feedback and improvement cycles before submitting it for
consideration as an "official" bundle. Thanks.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i'm using mySQL Version 14.12 Distrib 5.0.41, for apple-darwin8.5.1
(i686).
I've configured my Setup to use the SQL Bundle. When I select a Query
(working
in Shell) and press Ctrl-Shift-Q, I get the folling Errors:
- -- snip --
/Library/Application Support/TextMate/Bundles/SQL.tmbundle/Support/
bin/db_browser_lib.rb:5:in `require': No such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/
keychain (LoadError) from /Library/Application Support/TextMate/
Bundles/SQL.tmbundle/Support/bin/db_browser_lib.rb:5 from /Library/
Application Support/TextMate/Bundles/SQL.tmbundle/Support/bin/
db_browser.rb:7:in `require' from /Library/Application Support/
TextMate/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:7
- -- snap --
As I do not code in Ruby, I do not exactly know where the Problem is.
Same Query in Project worked in a prior Version of TextMate.
Maybe there ist someone who can give me a Hint to fix this. :o)
Thanks in Advance from Aix-la-Chapelle,
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHFnDrf47P97gjAUwRAr2uAKCNpjR+r0y5SHzr1aKXexTJbfHqTgCgxnOG
SxInY58C3Vr+EDNlT+WntU4=
=PZOZ
-----END PGP SIGNATURE-----
The \href{URL}{text} command of the hyperref package doesn't get
scoped correctly, I think. URL receives the following scope:
text.tex.latex
meta.group.braces.tex
meta.reference.label.latex
constant.other.reference.lable.latex
Shouldn't it rather receive:
text.tex.latex
meta.group.braces.tex
meta.function.link.url.latex
markup.underline.link.latex
Small thing, I know, but it affects syntax coloring and it means that
you cannot launch the URL with ⌅.
Best, Mark
I was just writing an e-mail, which is scoped as Markdown, and got an
error when trying to convert something to lower case using ⌃⇧U. I
discovered that ⌃⇧U is bound to "Update References" in the
Markdown2Book bundle. It probably needs to be changed to something else.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
I'm curious about the reiationship between textmate projects and the
subversion bundle.
I've had occasion to commit changes in a Textmate project, then go to
the terminal in the working directory and svn info shows me at a
previous revision, but doing svn up just reports that I'm now at the
latest revision.
Is this an artifact of the way I set the project up?
I have to admit that I'm still a bit confused by JEG IIs description
of two types of text mate projects in the book. I never managed to
understand what he was saying about the difference.
I think now that it's not really that there are two types of projects,
but two types of relationship between items in the project and the
filesystem.
When I first set up my first existing rails project as a textmate
project, I picked File>New Project and then dragged the individual top
level items from the finder to the textmate project pane, so the top
level of the project has the standard rails folders: app, components,
config, db ...; and two files README and Rakefile.
I think this means that the directories are folder references and I'm
not sure what the difference, if any there is for the two top level
files. I just changed README in textmate and saved it and it
certainly seems to be directly changing the file in the rails project
directory. So just what is the difference? I think that the real
difference is between a folder reference and a group inside a textmate
project, Yes?
And I guess that I really want to restructure the project so that it
has one toplevel folder reference which is the rails project
directory.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
I tend to use snippets a lot in textmate because they help me
standardize my data (text files, reports, blogs, wiki pages, code,
etc). I wanted to know if there was anyway (or any planned features)
that would allow the use of a temporary snippet, so that someone can:
1. while working in a file goto a blank line
2. type in some snippet code
3. highlight the code
4. hit a key combo to copy the snippet into a temp register/key that
can then instantly be used in the document.
For example, say I'm writing a document that has is starting to use a
bunch of citations:
"Begin with the name of the author, moderator, or other responsible
person or organization, if available, followed by the date of
publication, the title of the site, the URL, and the date of access.
(ex: American Chemical Society. (2006). Chemistry.org. http://
www.chemistry.org/portal/a/c/s/1/home.html (24 Mar. 2006).)"
So on a blank line I type:
$1. ($2). $3. http://$4 ($5).
I then select the text, and copy it to a temp register[1], (perhaps
with a fixed tab trigger, or hot key) and now I can quickly call on
it to populate the rest of my document.
This would save me time without having to goto snippets, create a new
snippet, assign a name, key combo, code, etc, then use the snippet,
and after I'm done with the document, go back in and delete the snippet.
I find I love the use of the snippets, but sometimes a formating
issue is only needed once, not enough to warrant creating permanent
snippets.
[1]: If there were 3-4 registers, then that would be even better.
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I'm really missing the ability to diff two files that I've selected in
the project drawer from the context menu, coming from an IntelliJ IDEA
background (now doing Ruby work).
Currently I have to do option-shift-apple-D, and then press 4 (??)
I see from an earlier post that you can't add things to the context
menu from a Bundle.
Is there anything into the works to add diff functionality into the
context menu for the project drawer? I can see at least two scenarios
that would be big time-savers:
Select modified file:
1) diff with saved version
Select two files:
2) diff between these files (regular and HTML) options, order same as
selection order
Hi,
I just uploaded the new version 0.902
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
or
"$TMTOOLS" help me
Changes:
added: to get allEnvironmentVariables an option variables to output
only these values
added: close allAuxiliaryWindows (very useful for developing ;)
added: close allFloatingDocumentWindows
changed: do closeAllWindows to close allWindows
added: get openDocumentFiles (for all opened floating windows)
added: set/get frontMostDocument (one can edit more than one document
with one script)
added: to get openProjectFiles the output option format=mate;
changed: get openProjectFiles output option escape is renamed to
shellEscape
added: do openFileInNewWindow
added: do revealFileInFinder
added: do openFileWithFinder
added: show alertSheet
Regarding to show alertSheet: I tried to get rid of it within
TMDIALOG but I had some problems to get the return value out. Maybe
it can be done in TMDIALOG 2.0 to show an alert in a sheet attached
at the current window.
I attached two examples:
editAllFloatingWindows:
This will resize and arrange all floating windows, and inserts into
the first line the html escaped file name. Finally it will show an
alert sheet.
reopenAsProject:
This will put all floating documents into a new project (for me very
helpful ;); close all floating windows; and open the front most
document in the project. This also works if only one window is open.
Please note: these are ONLY examples for showing what can be done.
Regards,
--Hans