Skip to content

Instantly share code, notes, and snippets.

@gedex
Forked from chrisyour/Folder Preferences
Created July 12, 2012 09:28
Show Gist options
  • Save gedex/3097005 to your computer and use it in GitHub Desktop.
Save gedex/3097005 to your computer and use it in GitHub Desktop.
Show hidden files and hidden folders (except .git) in your TextMate project drawer
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences.
# Instructions:
# Go to TextMate > Preferences...
# Click Advanced
# Select Folder References
# Replace the following:
# File Pattern Original
!(/\.(?!htaccess)[^/]*|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
# File Pattern Replace with
!(/\.(?!\W*)[^/]*|\.(gitkeep|DS_Store|tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
# Folder Pattern Original
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
# Folder Pattern Replace with
!.*/(.git|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment