Textmate tab and de-tab selected block
Indent: Alt+Tab Un-Indent: Shift+Alt+Tab
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
Just right (or control) click a file of the type you want to change and: “Get Info” -> “Open with:” -> (Select TextMate) -> “Change All”
Copy/pasting (but converting HTML to Markdown) from the current version of the “Naming Conventions” section of the TextMate Language Grammar Guide: comment — for comments. line — line comments, we specialize further so that the type of comment start character(s) can be extracted from the scope. double-slash — // comment double-dash — — comment number-sign … Read more
Pull up a chair son, let me speak on this. Well before the days of Xcode, there was VIM and Emacs. I know it’s hard to imagine, but it’s true. Many people got accustomed to VIM/Emacs, and thus continue to use it. Emacs is extremely customizable, and offers pretty much everything you can imagine (including … Read more