[TxMt] TextMate
Charilaos Skiadas
skiadas at hanover.edu
Wed Jul 11 18:21:27 UTC 2007
Of course the backslashes should be escaped:
\\frqq$TM_SELECTED_TEXT\\flqq
Do you really want the words frqq and flqq there? More importantly,
do you want to be able to edit that text and have it mirrored or
something like that? If so, then you will want to use placeholders in
the snippet.
On Jul 11, 2007, at 6:06 AM, Ciarán Walsh wrote:
> You don't need a command for this – just a snippet with
>
> \frqq$TM_SELECTED_TEXT\flqq
>
> would be fine.
>
> On 11 Jul 2007, at 10:56, Hans-Joerg Bibiko wrote:
>
>> Try this out:
>>
>> echo -en "\\\frqq $TM_SELECTED_TEXT\\\flqq\\"
>>
>> as command with no input and replace selected text.
>>
>>
>> <chris.tmCommand>
>>
>> On 11 Jul 2007, at 11:46, Christoph-Waibl.at wrote:
>>
>>> Dear friends!
>>>
>>> I am using Textmate for my LaTeX projects (writing arcticles at
>>> the university).
>>>
>>> I want the following macro: I want to mark a text that I have
>>> written and then I want to push a special keyboard shortcut to
>>> activate it.
>>>
>>> Example: "This is a text and it is just an example."
>>>
>>> I want to mark the word "text", push a keyboard shortcut and then
>>> it should create automatically:
>>>
>>> "This is a \frqq text\flqq\ and it is just an example."
>>>
>>> Can this be realized with TextMate?
>>>
>>> Kind regards!
>>>
>>> Chris (Austria)
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
More information about the textmate
mailing list