Skip to content

Instantly share code, notes, and snippets.

@bowsersenior
Forked from Victa/gist:1485536
Created June 26, 2012 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bowsersenior/2997869 to your computer and use it in GitHub Desktop.
Save bowsersenior/2997869 to your computer and use it in GitHub Desktop.
My Textmate 2 .tm_properties
# Basic Settings
#
fontName = "Monaco"
fontSize = 12
# Extra files to include
#
myExtraIncludes = ".tm_properties,.htaccess,.gitignore"
fileBrowserGlob = "{*,$myExtraIncludes}"
include = "{$include,$myExtraIncludes}"
# Hide log, vendor and tmp directories from search popups.
#
myExtraExcludes = "log,vendor,tmp,.sass-cache,.DS_Store"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
# If you also want to hide them from your project manager pane, add
# the following line to your project's local .tm_properties.
#
excludeInBrowser = "{$excludeInBrowser,log,vendor,tmp}"
# 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(?=.)//}}/}"
# Configure git
#
TM_GIT = "/usr/bin/git"
# Default editing configuration
#
softWrap = false
softTabs = true
tabSize = 4
wrapColumn = 120 | "Use Window Frame" # choose one
# File type specific configuration
#
[ text ]
showInvisibles = true
[ .git/COMMIT_EDITMSG ]
spellChecking = true
spellingLanguage = 'en'
[ *.{txt,md,mdown,markdown} ]
spellChecking = true
tabSize = 4
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
binary = true
[ source ]
softTabs = true
tabSize = 2
[ source.python ]
softTabs = true
tabSize = 4
[ "{README,INSTALL,LICENSE,TODO}" ]
fileType = "text.plain"
[ *.txt ]
softWrap = true
[ *.{html,phtml,php} ]
softWrap = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment