Skip to content

Instantly share code, notes, and snippets.

@timoschilling
Created April 28, 2012 15:02
Show Gist options
  • Save timoschilling/2519686 to your computer and use it in GitHub Desktop.
Save timoschilling/2519686 to your computer and use it in GitHub Desktop.
textmate config
#http://wiki.macromates.com/Reference/Settings
fontSize = 12
fontName = Monaco
showInvisibles = true
spellChecking= true
excludeInFileChooser = "{$exclude,public/uploads/assets,\.git,\.sass-cache/}"
windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/captainhagbard\w+\/?(.*)|(.+))\z/${2:? – ${2/\A\/Users\/captainhagbard/~/}:${1/\A(?=.)/ – /}}/}"
excludeInFileChooser = "{$excludeInFileChooser,tmp,.sass-cache}"
excludeInBrowser = "{$excludeInBrowser,log,vendor,tmp}"
excludeInFolderSearch = "{$excludeInFolderSearch,log,tmp,.sass-cache}"
excludeDirectoriesInBrowser = "{$excludeDirectoriesInBrowser,.sass-cache}"
[ *.* ]
fileType = "text.plain"
softWrap = false
softTabs = true
tabSize = 2
[ "^\..*" ]
fileType = "text.plain"
[ *.rb ]
fileType = "source.ruby.rails"
softWrap = false
softTabs = true
tabSize = 2
[ *_spec.rb ]
fileType = "source.ruby.rspec"
softWrap = false
softTabs = true
tabSize = 2
[{Gemfile,"Gemfile.dev",gemspec,rake}]
fileType = "source.ruby.rails"
softWrap = false
softTabs = true
tabSize = 2
[ *.erb ]
fileType = "text.html.erb"
softWrap = false
softTabs = true
tabSize = 2
[ *.haml ]
fileType = "text.haml"
softWrap = false
softTabs = true
tabSize = 2
[ *.css ]
fileType = "source.css"
softWrap = false
softTabs = true
tabSize = 2
[ *.js ]
fileType = "source.js"
softWrap = false
softTabs = true
tabSize = 2
[ *.sass ]
fileType = "source.sass"
softWrap = false
softTabs = true
tabSize = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment