Create a .tm_properties file to set preferences
Here are a few handy rules you can put in your .tm_properties file:
TM_GIT = "/usr/local/bin/git"
excludeFiles = "*.{so,pyc,o,scssc}"
excludeDirectories = "build,dist,tmp,log"
# show the path to the current tab's file in the window title
# (replace the 2 instances of 'username' in the string below
# with your mac username).
windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/username\w+\/?(.*)|(.+))\z/${2:? – ${2/\A\/Users\/username/~/}:${1/\A(?=.)/ – /}}/}"
fontName = "Monaco"
fontSize = 13
tabSize = 2
softTabs = true
wrapColumn = 80 | "Use Window Frame" # choose one
sofWrap = false
showInvisibles = true
# special per-filetype rules can be specified like so:
[ *.{txt,md,mdown,markdown} ]
spellChecking = true
tabSize = 4
With thanks to fonnesbeck and JEG2 who were the only hits when I Googled for “.tm_properties”.
