Thanks for using Rails Hotkeys extension. This plugin is intend to help Rails developers to be more productive by defining hotkeys to files.
To activate the Rails mode hotkeys, press Ctrl + Shift + R. Then, press one of the keys of the the list below:
Key | Action |
---|---|
A | Open the controllers/application.rb file |
B | Open your Rails project base directory |
C | Open a controller file |
D | Open the config/database.yml file |
E | Open the config/environment.rb file |
F | Open a functional test file |
H | Open a helper file |
I | Open a integration file |
J | Open a fixture file |
L | Open the views/layouts/application.rhtml file |
M | Open a model file |
N | Open the URL http://localhost:3000/ on your default browser |
P | Open the public directory |
R | Open the config/routes.rb file |
T | Open all the tests (units, functionals and integration) |
U | Open a unit test file |
V | Open the view directory |
F1 | Open the help file |
Rails Hotkeys uses Rails conventions/structure to know which file will be opened. For example, if you're editing a controller users pressing M opens the model file User. I ported some inflections rules right from Rails, so if you have any problem, contact me.
To see all the debugs (in fact, print calls), start gedit with the command "RH_DEBUG=1 gedit" on the command line.
If you have any comment or want to make a donation on PayPal, contact me at fnando dot vieira at gmail dot com