-
-
Save koenpunt/02dd3ab3670586216d40a9dacf42d3c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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