Skip to content

Instantly share code, notes, and snippets.

@larssmit
Last active September 28, 2015 19:28
Show Gist options
  • Save larssmit/1486066 to your computer and use it in GitHub Desktop.
Save larssmit/1486066 to your computer and use it in GitHub Desktop.
Textmate 2 tm_properties global
# ---------------------------------------------------------
# font and size
# ---------------------------------------------------------
fontName = "Menlo"
fontSize = 14
# ---------------------------------------------------------
# Display the name of the home directory
# ---------------------------------------------------------
windowTitleProject = '${projectDirectory:+ — ${projectDirectory/^.*\///}}'
windowTitleFramework = '${TM_DIRECTORY/.*\/Frameworks\/([^\/]+)\/.*|.*/${1:+ ($1)}/}'
windowTitle = '$TM_DISPLAYNAME$windowTitleFramework$windowTitleProject$windowTitleSCM'
# ---------------------------------------------------------
# Variables
# ---------------------------------------------------------
TM_FULLNAME = "Lars Smit"
TM_ORGANIZATION = "-"
TM_PATH = "$PATH"
# ---------------------------------------------------------
# Configure Git
# ---------------------------------------------------------
TM_GIT = "/usr/local/bin/git"
# ---------------------------------------------------------
# Configure Ruby (using rvm)
# ---------------------------------------------------------
TM_RUBY = "/Users/larssmit/.rvm/bin/rvm-auto-ruby"
# ---------------------------------------------------------
# General Settings
# ---------------------------------------------------------
encoding = UTF-8
showInvisibles = false
spellChecking = false
[ .git/COMMIT_EDITMSG ]
spellChecking = true
spellingLanguage = 'en'
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
binary = true
[ text ]
softWrap = false
wrapColumn = 80
softTabs = true
tabSize = 2
[ text.html.markdown ]
softWrap = true
wrapColumn = "Use Window Frame"
softTabs = false
tabSize = 4
[ text.plain ]
softWrap = true
wrapColumn = "Use Window Frame"
softTabs = false
tabSize = 4
[ scala ]
softWrap = false
wrapColumn = 80
softTabs = true
tabSize = 4
[ source ]
softWrap = false
wrapColumn = 80
softTabs = true
tabSize = 2
[ source.plist ]
softTabs = false
tabSize = 4
[ source.ruby ]
softTabs = true
tabSize = 2
[ source.python ]
softTabs = true
tabSize = 4
[ source.tm-properties ]
spellChecking = false
[ "{README,INSTALL,LICENSE,TODO}" ]
fileType = "text.plain"
[ ".{zshrc}" ]
fileType = "shell"
spellChecking = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment