Skip to content

Instantly share code, notes, and snippets.

@larssmit
Created January 30, 2013 06:19
Show Gist options
  • Save larssmit/4671162 to your computer and use it in GitHub Desktop.
Save larssmit/4671162 to your computer and use it in GitHub Desktop.
TextMate 2 .tm_properties with default settings for each RoR project.
projectDirectory = '$CWD'
windowTitleProject = '${projectDirectory:+ — ${projectDirectory/^.*\///}}'
windowTitleFramework = '${TM_DIRECTORY/.*\/Frameworks\/([^\/]+)\/.*|.*/${1:+ ($1)}/}'
windowTitle = '$TM_DISPLAYNAME$windowTitleFramework$windowTitleProject$windowTitleSCM'
excludeFiles = "{destroy,tmtags,tmtagsHistory,tags,.tm_properties,.htaccess,.gitignore,dump.rdb,*rid,*lock,*log,*sh}"
excludeInFolderSearch = "{destroy,tmtags,tmtagsHistory,tags,.tm_properties,.htaccess,.gitignore,dump.rdb,*rid,*lock,*log,*sh}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment