Skip to content

Commit

Permalink
add tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh committed Dec 12, 2010
1 parent ff63d83 commit c26bbdf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions doc/tips.md
@@ -1,3 +1,8 @@

Add <%= %> arround certain text. Write text first. Then select the text using v. Then hit s = .
http://stackoverflow.com/questions/4275209/how-to-insert-erb-tags-with-vim


\ c space to toggle comment

:! drops me at the command line
Expand All @@ -10,8 +15,6 @@ If you are in one of the migration file then you can execute

:Rgenerate scaffold User name:string

:Gst for git status

:Renv opens application.rb in Rails3 and environment.rb in Rails2

:Rgen migration add_email_to_users
Expand Down Expand Up @@ -53,3 +56,8 @@ Put the cursor on a model/controller name and hit gf.
:Rinvert
:Rextract
:Rtree


:Gst for git status
:Gblame

0 comments on commit c26bbdf

Please sign in to comment.