Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@koenpunt
Created July 11, 2016 11:16
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 koenpunt/02dd3ab3670586216d40a9dacf42d3c3 to your computer and use it in GitHub Desktop.
Save koenpunt/02dd3ab3670586216d40a9dacf42d3c3 to your computer and use it in GitHub Desktop.
# Settings
#
windowTitle = "$TM_DISPLAYNAME - ${TM_DIRECTORY/${HOME}\//~\//} (git: $TM_SCM_BRANCH)"
# Extra files to include
#
myIncludes = ".tm_properties,.htaccess,.gitignore,.gitattributes,.standalone_migrations,.env,.foreman,.powenv,.powrc,.travis.yml,.bowerrc,.nvmrc,.rspec,.buildpacks,.editorconfig,.travis,.xctool-args,.babelrc"
fileBrowserGlob = "{*,$myIncludes}"
include = "{$include,$myIncludes}"
# Hide log and tmp directories from search popups.
#
myExcludes = "log,tmp,public/media,node_modules,bower_components,_builds,_projects,_steps,vendor,*sql,*.pg,dump"
excludeInFileChooser = "{$excludeInFileChooser,$myExcludes}"
excludeInFolderSearch = "{$excludeInFolderSearch,$myExcludes}"
# Default editing configuration
#
fontName = SourceCodePro-Regular
fontSize = 13
showIndentGuides = true
theme = CAB58494-D1A3-4BAD-BBC6-DAED679AD20B
softWrap = false
showInvisibles = true
tabSize = 2
softTabs = true
# File type specific configuration
#
[ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib,gem,mp4,mov} ]
binary = true
[ source.python ]
softTabs = false
tabSize = 4
[ source.json ]
tabSize = 2
[ attr.untitled ]
fileType = "source.php"
[ text.plain ]
softWrap = true
[ "{README,INSTALL,LICENSE,TODO}" ]
fileType = "text.plain"
# "Go to Related File" action for Rspec test files
[ *.rb ]
relatedFilePath = "${TM_FILEPATH/\/app\/(.+)/\/spec\/${1/(?=\.rb$)/_spec/}/}"
[ *_spec.rb ]
relatedFilePath = "${TM_FILEPATH/\/spec\/(.+)/\/app\/${1/_spec(?=\.rb$)//}/}"
[ *.html.erb ]
relatedFilePath = "${TM_FILEPATH/\/app\/(.+)/\/spec\/${1}_spec.rb/}"
[ *.erb_spec.rb]
relatedFilePath = "${TM_FILEPATH/\/spec\/(.+)_spec.rb/\/app\/${1}/}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment