Search code examples
ruby-on-railskeyboardcommandtextmate

Keyboard Shortcuts for TextMate?


How do I get the keyboard shortcuts to work for Rails? I'm trying to insert ERb's like <%= %> and <% %> and the commands should be Ctrl+Z and Ctrl+X but it doesn't work. I have the document type set to Ruby on Rails.

Any ideas on what I'm doing wrong?


Solution

  • I use Ctrl+Shift+> to display the <%= %> and <% %> you should set the template to HTML (Rails).