Hi,
I have another problem with snippets.
I have defined the snippet
^{$1}$0
for inserting LaTeX superscripts. The snippet is bounded to the ^ key.
However, with some keyboard (French and Italian and possibly more), ^
is an active key to insert accented letter. When the snippet is used
with such keyboards after typing ^ one correctly have ^{} with the
caret inside the curly brackets, but when one types, for example 2,
the result is ^{^{}}.
Any way to prevent this (beside changing the trigger for the snippet)/
All the best
Guido
--
Dr Guido Governatori
http://www.governatori.nethttp://www.governatori.net/TextMatehttp://www.defeasible.org
Hi,
I wonder how you guys keep your TextMate synced with among multiple
Macs.
I noticed that BBEdit 9 added mobileme support.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hi i just updated the Support folder and the Python and Perl bundle.
Now every time I do "run script" the following error is displayed with
the expected output:
"/Library/Application Support/TextMate/Support/lib/tm/process.rb:123:
warning: Insecure world writable dir /Library in PATH, mode 040777"
Hi,
1) I would like to create a snippet like (actually a part of a snippet)
${1:[${2:text}]}
So when I insert it on the first tab I have
[text]
with the option of deleting it typing <delete> and then on the second
tab to modify the actual placeholder. The problem is when I replace
the square brackets [] with curly brackets {}. I have tried a few
options with mirror and conditional insertions but to no avail. Any
suggestions?
2) I would like to have a snippet for LaTeX superscript (and
subscript) such that curly brackets are included when the content is
at least two characters and no brackets when I have only one
character, that is "^{abc}" and "^a".
So far I have the following solution
^${1/(.{2,})|./(?1:{)/}$1${1/(.{2,})|./(?1:})/}$0
but there is a few problems. When I have nested superscript (or
subscripts) if the nested supscript is inserted as second character,
then the caret is not at the right place. So if I type
^a^
I get
^{a|^}
where | indicates the position of the caret. The second problem is
that if the first command triggers a snippet of a command, the snippet
no longer work.
Any suggestions?
Regards,
Guido
--
Dr Guido Governatori
http://www.governatori.nethttp://www.governatori.net/TextMate
Hi,
While I am developping a Rails app, I would like to be able to hit the
ctrl+shift+M key to open the Mercurial menu, but instead, it creates a
Rails migration file. How can I change the keyboard shortcut so that
it becomes ctrl+shift+A which is the one dedicated for subversion that
I don't use?
I just installed Ruby 1.9 but every time I try to run a script in Textmate I
get the following:
Users/ron/Library/Application Support/TextMate/Support/lib/scriptmate.rb:10:
warning: variable $KCODE is no longer effective; ignored
/Users/ron/Library/Application
Support/TextMate/Support/lib/scriptmate.rb:11:in `require': no such file to
load -- jcode (LoadError) from /Users/ron/Library/Application
Support/TextMate/Support/lib/scriptmate.rb:11:in `' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:1:in
`require' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:1:in
`'
HELP!!!!
--
ron.green(a)gmail.com
Hi
I have been messing around with the trial version of textMate as I
finally got the time
to do so. It is of course awesome!
I have now broken every single path, snippet, template, bundle.. you
name it.
This is OK and totally expected in a test drive for a piece of
software that gives one this much
power.
How can I completely re-install textMate so that it looks
precisely as when I started it up this morning?
Im on 10.5.4 OS X leopard, running/breaking textMate 1.5.7(1436)
I tried removing the files in user/library/preferences and deleting
what ever I could find on
my system named textMate and emptied out my trash.
Still when installing from the image I get my "broken" version back.
Regards Ricki
Hello,
I've been using TM for the last couple of years but, as you all know,
a new major release is quite far into the future, and since those
issues that I have with TM won't go addressed for the coming few
years, I've decided to move back to Emacs. I had a list of things I
liked in TM, which Emacs was lacking, but I have found solutions for
each one of them, apart from one, last item. I know that this is not
an Emacs forum, but I expect quite a few here has moved from Emacs to
TM, as I did myself a few years ago, and thought it could be
interesting to hear your opinion on the issue (esp. since you will
have experience with both editors and would be able to understand the
issue better then the pure Emacs folk over at the Emacs forums).
My last remaining item is the project drawer; I do not use it much as
my projects usually are single file projects, but I think it is very
nice to have and I esp. like the concept that I can have files from
different directory trees in one project. I could not find a similar
concept in Emacs; neither Speedbar nor ECB since to be able to solve
my "problem", as they try to solve other, unrelated, problems. I
could use a directory structure but then I have to move some files
from other location into my main directory, I would like to avoid that.
The project I think of is my website to be specific, I have all files
in a directory structure under ~/Documents, but I have a number of
Perl scripts for maintenance located in ~/Applications, and some
additional support files located elsewhere, and I don't quite like
the concept of moving all those files (about 10 all in all I think)
to ~/Documents, even as symlinks.
Any nice, preferable light-weight, solution to this?
TIA.
/Jonas