How can I make Textmate always ignore the /log folder in the “Find in Project” search?
Add the log folder to the excludeInFolderSearch option in your ~/.tm_properties file, e.g.: excludeInFolderSearch = “{$excludeInFolderSearch,$extraExcludes,log}”
Add the log folder to the excludeInFolderSearch option in your ~/.tm_properties file, e.g.: excludeInFolderSearch = “{$excludeInFolderSearch,$extraExcludes,log}”
Textmate 2: From the menu: Textmate -> Preferences -> Terminal: click install For more information read the “Terminal Preferences” from Help
Replace ^(?!.*pad.*).+$ with empty string
Indent: Alt+Tab Un-Indent: Shift+Alt+Tab
Check out sublime: http://www.sublimetext.com/. It’s not quite textmate but it has some pretty awesome features.
These are my favorite shortcuts: cmd+t Start typing name of a file to open it ctrl+w Select word cmd+r Run the ruby or php-script that is open cmd+opt+m Define a new macro cmd+shift+m Run the macro opt Switch to vertical selection mode cmd+opt+a Edit ends of selected lines
The replacement expression is: \$\1\u\2 \1, \2 are the captures (or $1, $2) \u up-cases (see the Replacement String Syntax section). See the Regular Expressions chapter (in the TextMate docs) for more information. There’s already a package that does this, and more: Brief blog about CaseConversion CaseConversion package
I was almost positive that there was a post to the mailing list within the last 4 months that strongly implied — or outright stated — that there’d at least be a beta by summer 2009, but I haven’t been able to dig it up, so I’m not sure. To be honest, I’m not really … Read more
Coffeescript has a ‘watch’ feature. You could set up, as a semi-permanent process: coffee –wc -o media/js/ src/coffee/*.coffee And for every file with an extension “.coffee”, the corresponding compiled “.js” file will be put into the target directory every time you save. That said, I use a makefile and a fabfile, because my HTML is … Read more
OK – here is the one that works on Mountain Lion. Go to http://osxfuse.github.com/ Install FUSE for OS X Install SSHFS for OS X Then the following commands on your terminal: mkdir /Volumes/SSHFS /usr/local/bin/sshfs username@host:/path/to/dir /Volumes/SSHFS Done. I would also recommend using the ReMate plugin as pointed out by another user to prevent TextMate from … Read more