[TxMt] Project name in window title (was: Tab behaviour)
Allan Odgaard
mailinglist at textmate.org
Sat Sep 29 11:44:34 UTC 2012
On Sep 26, 2012, at 6:14 PM, River Brandon <river at unit-e.com> wrote:
> […] I'd also love it if there were a way to show a project name (or just root directory) in the window title bar, since when I minimize windows (usually projects I'm not working on), I only get to see the file that's open, which doesn't tell me much.
In your project’s .tm_properties set something like:
projectDirectory = '$CWD'
windowTitle = '$TM_DISPLAYNAME — ${CWD/^.*\///}$windowTitleSCM'
The windowTitleSCM variable is set in the default properties file to include the SCM branch (if current project use SCM).
More information about the textmate
mailing list