Skip to content

Instantly share code, notes, and snippets.

@josephmisiti
Last active September 9, 2015 17:32
Show Gist options
  • Save josephmisiti/31c3009e0c8e9be57c47 to your computer and use it in GitHub Desktop.
Save josephmisiti/31c3009e0c8e9be57c47 to your computer and use it in GitHub Desktop.
My global textmate 2 config
# Basic Settings
fontName = "Panic Sans"
fontSize = 15
# Extra files to include
myExtraIncludes = ".env,.gitignore,.htaccess,.pryrc,.rspec,.rspec_parallel,.rvmrc,.ruby-gemset,.ruby-version,.tm_properties,.travis.yml"
fileBrowserGlob = "{*,$myExtraIncludes}"
include = "{$include,$myExtraIncludes}"
includeInFileChooser = "{$includeInFileChooser,$myExtraIncludes}"
# Extra files to exclude
myExtraExcludes = "*.sqlite3,webrat.log,doc,log,vendor,tmp,coverage"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
# excludeInBrowser = "{$excludeInBrowser,$myExtraExcludes}" # If you also want to hide them from your project manager pane
# Configure git
TM_GIT = "/usr/local/bin/git"
# Default editing configuration
disableIndentCorrections = true
showInvisibles = true
showWrapColumn = true
softTabs = true
softWrap = false
tabSize = 2
wrapColumn = 120
# File type specific configuration
[ .git/COMMIT_EDITMSG ]
spellChecking = true
spellingLanguage = 'en'
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
binary = true
[ source ]
softTabs = true
tabSize = 2
[ "{README,INSTALL,LICENSE,TODO}" ]
fileType = "text.plain"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment