[TxMt] Re: TM2: is there a way to use a variable inside a replacement

Allan Odgaard mailinglist at textmate.org
Sat Jan 7 22:51:16 UTC 2012


On 07/01/2012, at 05.13, Michael Johnston wrote:

> For example, I would like to do this:
> 
> windowTitle = "$TM_DISPLAYNAME – ${TM_DIRECTORY/$TM_PROJECT_DIRECTORY//g}"
> 
> where the string in TM_PROJECT_DIRECTORY is being removed from the string in TM_DIRECTORY

Not presently possible, but on my own wish-list as well.



More information about the textmate mailing list