Skip to content

Instantly share code, notes, and snippets.

@denji
Last active December 18, 2015 15:08
Show Gist options
  • Save denji/5801750 to your computer and use it in GitHub Desktop.
Save denji/5801750 to your computer and use it in GitHub Desktop.
Text Mate 2 profile
#-------------------------------------------------------------------------------
# Drawer
#-------------------------------------------------------------------------------
myExtraIncludes = ".tm_properties,.htaccess,.gitignore"
fileBrowserGlob = "{*,$myExtraIncludes}"
include = "{$include,$myExtraIncludes}"
#-------------------------------------------------------------------------------
# Search
#-------------------------------------------------------------------------------
myExtraExcludes = "log,vendor,tmp"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
#-------------------------------------------------------------------------------
# Environment Variables
#-------------------------------------------------------------------------------
TM_GIT = "/usr/local/bin/git"
TM_SVN = "/usr/local/bin/svn"
TM_COFFEE = "$HOME/bin/coffee"
TM_NODE = "/usr/local/bin/node"
PATH = "$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/sbin:/usr/sbin:/sbin"
#-------------------------------------------------------------------------------
# Visual
#-------------------------------------------------------------------------------
theme = D8D5E82E-3D5B-46B5-B38E-8C841C21347D
fontName = "Consolas"
fontSize = 13
tabSize = 4
softTabs = false
softWrap = false
#showInvisibles = true
windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/username\w+\/?(.*)|(.+))\z/${2:? – ${2/\A\/Users\/username/~/}:${1/\A(?=.)/ – /}}/}"
#-------------------------------------------------------------------------------
# Filetypes
#-------------------------------------------------------------------------------
[ text ]
softWrap = false
[ *.{txt,md,mdown,markdown} ]
spellChecking = true
spellingLanguage = 'en'
softWrap = true
[ *.{rb,coffee} ]
spellChecking = true
spellingLanguage = 'en'
tabSize = 2
softTabs = true
[ .git/COMMIT_EDITMSG ]
softWrap = true
spellChecking = true
spellingLanguage = 'en'
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
binary = true
[ "{README,INSTALL,LICENSE,TODO,CNAME}" ]
fileType = "text.plain"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment