[TxMt] TextMate
Hans-Joerg Bibiko
bibiko at eva.mpg.de
Wed Jul 11 09:56:15 UTC 2007
Try this out:
echo -en "\\\frqq $TM_SELECTED_TEXT\\\flqq\\"
as command with no input and replace selected text.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chris.tmCommand
Type: application/octet-stream
Size: 674 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20070711/e8454ec8/attachment.tmCommand>
-------------- next part --------------
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)
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
**********************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6 phone: +49 (0) 341 3550 341
D-04103 Leipzig fax: +49 (0) 341 3550 333
Germany e-mail: bibiko at eva.mpg.de
**********************************************************
More information about the textmate
mailing list