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

Michael Johnston lastobelus at mac.com
Fri Jan 6 22:13:21 UTC 2012


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

Thanks!

Michael Johnston
lastobelus at mac.com





More information about the textmate mailing list