+5

Rails shortcuts?

Matthias Käppler 14 lat temu Ostatnio zmodyfikowane przez Andy Jeffries 13 lat temu 1
I love the alpha so far, but I am missing some shortcuts I found extremely useful to have in TextMate:

* CTRL+SHIFT+D for duplicating a line
* CTRL+CMD+R for revealing a file in a directory tree
* basically all Rails shortcuts

I realize the last one would only be suited for a plug-in. Is it possible to write a plug-in that adds shortcuts like CTRL+P for creating a Rails params hash? I am also missing the CTRL+SHIFT+[<|>] shortcuts for generating markup.

I've just noticed this one and have solved the first two, so thought I'd post the solution.  Put the following in your Preferences | Key Bindings - User:


{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },

I tend to use ZenCoding now for generating markup, but each to their own.