Setup for Rails development on OSX
|
⌘⇧P
|
Any command
|
|
⌘P
|
Go to anything
|
|
⌘^P
|
Go to project
|
|
⌘R
|
Go to symbol
|
|
⌘⇧R
|
Go to symbol in project
|
|
⌥⌘↓
|
Go to definition
|
|
^G
|
Go to line
|
|
^-
|
Jump back
|
|
^⇧-
|
Jump forward
|
|
⌘⌥1
|
Single column
|
|
⌘⌥2
|
Two columns
|
|
⌘⌥5
|
Grid
|
|
^1
|
Focus group
|
|
^⇧1
|
Move file to group
|
|
⌘⌥W
|
Close other tabs
|
|
⌘F2
|
Toggle bookmark
|
|
F2
|
Next bookmark
|
|
⇧F2
|
Previous bookmark
|
|
⌘⇧F2
|
Clear bookmarks
|
|
⌘D
|
Select word
|
|
⌘L
|
Select line
|
|
⌘⇧Space
|
Select scope
|
|
^⇧M
|
Select contents in brackets
|
|
⌘⇧J
|
Select indentation
|
|
⌘⇧A
|
Select tag
|
|
⌘⇧⏎
|
Insert line before
|
|
⌘⏎
|
Insert line after
|
|
^⇧K
|
Delete line
|
|
⌘KK
|
Delete from cursor to end of line
|
|
⌘⌫
|
Delete from cursor to start of line
|
|
⌘⇧D
|
Duplicate line
|
|
⌘J
|
Join line
|
|
⌘KU
|
Upper case
|
|
⌘KL
|
Lower case
|
|
⌘/
|
Comment
|
|
⌘Y
|
Redo
|
|
⌘⇧V
|
Paste with indent
|
|
^M
|
Jump to matching bracket
|
|
⌘^↑
|
Swap line up
|
|
⌘^↓
|
Swap line down
|
|
⌘U
|
Undo momement
|
|
⌘⇧U
|
Redo movement
|
|
⌘⌥.
|
Close tag
|
|
^⇧W
|
Wrap selection in tag
|
|
⌘^N
|
Advanced new file...
|
|
⌘⇧H
|
Change 1.8 hash to 1.9 hash
|
|
⌘⌥→
|
Toggle braces to do...end
|
|
⌘⌥←
|
Toggle do...end to braces
|
|
⌘⇧;
|
Toggle string <-> symbol
|
|
⌘^K
|
Beautify Ruby
|
|
⌘^M
|
List Rails models
|
|
⌘^C
|
List Rails controller
|
|
⌘^V
|
List Rails views
|
|
⌘^H
|
List Rails helpers
|
|
⌘^T
|
List Rails specs
|
|
⌘^J
|
List Rails javascripts
|
|
⌘^Y
|
List Rails stylsheets
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.