When using the LaTeX bundle, "Reformat paragraph" isn't very clever
about respecting things like environments that aren't separated by a
blank line and commands like \item and \caption that might take
paragraph text. Is it possible to customise this?
Thinking more about it, it's certainly not an easy problem. But if
there are hooks, then I'd like to start looking at taking advantage of
I'm trying to write a snippet for wikimedia for applying bold
(wrapping a string in **str**)
I've attached cmd-B to the snippet, and I'd like it to bold the
CURRENT_WORD if there is no selection.
Sounds like a job for:
Works fine for the selected text, but not for the current word, where
it returns things like this:
he|re -->cmd-B--> he**here**re
Any pointers, or do I need to be made into a command? (in that case,
what use does $TM_CURRENT_WORD have in snippets?
if I insert a snippet with a tabstop, which is immediately followed by
a number (without any white spaces in between), the number gets
interpreted as belonging to the tabstop. Is there a way to aviod this?
I want to put the caret to an arbitrary location of a (script
generated) replaced text, which might be inside a number block. The
solution I have is to put a pair of backticks before the number, but
then the inserted text flashes on insertion, so it does not seem to be
the correct way to solve this.
I get the following error when invoking the Git Bundle with
/tmp/temp_textmate.datgB4:26:in `open': No such file or directry -
/from /tmp/temp_textmate.datgB4:26:in `entries'
One odd thing is that this only happens with documents with a particular
Git repository. With other Git repositories, things work as expected.
The problematic repository *is* a Git repository, and everything works
fine from the command line---I can commit, pull, push, etc. just fine.
This is a feature request.
When multiple items are found when pressing keyboard shortcuts, a menu
will appear. (See 5.1.1 http://manual.macromates.com/en/bundles#activation_of_bundle_items
In the menu, TextMate offers 1 to 9 to make selecting an item easy.
But in the menu, I woud like
to use control-N and control-P to move up or down.
Spotlight, Safari's location bar and many other apps support Control-P
and Control-N for various
It would be cool if TextMate has this support.
Of course, I know I can use arrow keys or just type the first letter
of the item to select an item.
On 22/set/08, at 10:19, textmate-request(a)lists.macromates.com wrote:
>> I save it and now alt-esc does not work anymore
>> Perhaps a problem with LatexCommandCompletions.rb ??
> I have the same problem. I would like to know if I am the only one
> with this problem?
> Perhaps i need to update something ? but I think there is a problem
> with \input, \include and the completion !
> Best regards
Same problem here. This is what happens on my machine with the code
- when I use \include or \input the command completion stop working in
the master file. However in the file called by \include or \input it
works without a problem. The command completion works in the master
file until the first time i save the file.
- \ref and \cite work smoothly in both file.
- the file essai is in the same folder of the master one, and has
the .tex extension.
However I've always considered this behavior as a "feature" of the
LaTeX bundle, a kind of advice: "if you use \include or \input, it's
better to write all of your text in secondary files, keep the master
Leopard 10.5.5, TextMate Version 1.5.7 (1466), LaTeX bundle updated
some days ago, for the release of MacTex 2008.
I just tried to use "Edit in TextMate" on groups.google.com and it
just plays me an alert sound when hitting the keyboard shortcut
instead of opening a new TextMate window.
Can someone confirm that "Edit in TextMate" is not working when trying
to make a new post on any group with safari and groups.google.com
I do not know whether I can remember correctly but I believe that
someone mentioned a generator script for language grammars' regexp of
a set of fixed names. I mean e.g.:
I have this list of fixed classes:
and the generator script will output something like this:
If someone knows this script I'd be appreciated to get a hint where I
can find it.
Many thanks in advance!