[TxMt] Re: Select word and replace with different word

Stéphane THIL stephane.thil at univ-perp.fr
Wed Mar 12 08:26:41 UTC 2014


Hi,
The easiest way (afaik) is probably to create a snippet that replaces ‘rspb’ with 'Royal Society for Protection of Birds’ using a tab trigger.
S.

On 11 Mar 2014, at 20:13, Gildas Hamel <gweltaz at ucsc.edu> wrote:

> If this is in LaTeX, you can also edit the configuration file (LaTeX bundle > Edit Configuration File) and add a line:
>  rspb = 'Royal Society for Protection of Birds';
> or even
>  rs = 'Royal Society for Protection of Birds';
> and in your text, use Control-Shift-period after typing rs.
> --gildas
> 
> 
> On Tue, Mar 11, 2014 at 9:10 AM, Ross Ahmed <rossahmed at googlemail.com> wrote:
> Lets say I have this abbreviation:
> 
> RSPB
> 
> Can I make a command which, when I select “RSPB” and hit a keyboard shortcut, will replace “RSPB” with “Royal Society for Protection of Birds”?
> 
> Thanks 
> Ross
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> -- 
> Gildas Hamel
> 331 Plateau Avenue
> Santa Cruz, CA 95060
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140312/3bc20bf4/attachment.html>


More information about the textmate mailing list