Skip to content

Instantly share code, notes, and snippets.

@f000
Created August 5, 2015 16:34
Show Gist options
  • Save f000/936fb73b235a0a0867f0 to your computer and use it in GitHub Desktop.
Save f000/936fb73b235a0a0867f0 to your computer and use it in GitHub Desktop.
Textmate 2 ~/.tm_properties
# Basic Settings
fontName = "Courier New"
fontSize = 16
# JS Lint
projectDirectory = "$CWD"
TM_PROJECT_DIRECTORY = "$projectDirectory"
# Variables
TM_FULLNAME = "Lukas Vorlicek"
TM_ORGANIZATION = "CodeArt"
TM_GIT = "/usr/bin/git"
# File filter
exclude = "{}"
include = "{*,.*}"
# Extra files to include
myExtraIncludes = ".*"
fileBrowserGlob = "{*,$myExtraIncludes}"
include = "{$include,$myExtraIncludes}"
# Hide log, vendor and tmp directories from search popups.
myExtraExcludes = "*.o,.pyc,CVS,_darcs,_MTN"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
# Generl settings
showInvisibles = true
spellChecking = false
spellingLanguage = "en"
tabSize = 4
softTabs = true
softWrap = false
# File type specific configuration
[ text ]
showInvisibles = true
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
binary = true
[ source ]
[ "{README,INSTALL,LICENSE,TODO}" ]
fileType = "text.plain"
[ text.html.markdown ]
spellChecking = true
@f000
Copy link
Author

f000 commented Aug 5, 2015

.tm_properties in the project's directory :

## General settings
projectExcludes = ".git,node_modules"

excludeInBrowser = "{$excludeInBrowser,$projectExcludes}"
excludeInFileChooser  = "{$excludeInFileChooser,$projectExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$projectExcludes}

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