Skip to content

Instantly share code, notes, and snippets.

@charlesdemers
Created December 16, 2011 18:44
Show Gist options
  • Save charlesdemers/1487350 to your computer and use it in GitHub Desktop.
Save charlesdemers/1487350 to your computer and use it in GitHub Desktop.
My TextMate2 config file
# Put this file in your user folder
# You can also override it per project by creating another .tm_properties
# in your project’s root
TM_GIT = "/usr/bin/git"
excludeFiles = "*.{so,pyc,o,scssc}"
excludeInFileChooser = "{build,dist,tmp,log,node_modules}"
excludeInBrowser = "{build,dist,tmp,log,node_modules}"
excludeInFolderSearch = "{build,dist,tmp,log,node_modules}"
fontName = "Monaco"
fontSize = 12
tabSize = 2
softTabs = true
showInvisibles = true
windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/cdemers\w+\/?(.*)|(.+))\z/${2:? – ${2/\A\/Users\/cdemers/~/}:${1/\A(?=.)/ – /}}/}"
[ *.{txt,md,mdown,markdown} ]
spellChecking = true
tabSize = 4
softTabs = false
softWrap = true
[ "{CHANGELOG,.rvmrc,Procfile}" ]
fileType = "text.plain"
[ *.log ]
fileType = "text.plain"
@charlesdemers
Copy link
Author

@tispratik Sorry for the late response, I was off the grid for the holidays. You’re right about the excludeDirectories, I didn’t test it before publishing the gist, it’s corrected now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment