Skip to content

Instantly share code, notes, and snippets.

View purnimamehta's full-sized avatar
🐢
Slow

Purnima Mehta purnimamehta

🐢
Slow
  • University of Toronto
  • Toronto, Canada
View GitHub Profile
@purnimamehta
purnimamehta / frontendDevlopmentBookmarks.md
Created February 21, 2016 03:02 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
:s/></>\r</g Substitute >< with a newline between. g flag means all occurances
=gg Auto-format (=) everything from the current line to the top (gg)
dd Delete (d) the current line (d)
qb Record macro (q) with name 'b'
dd
C-v Visual block mode (C-v)
l l j j d Move right twice, down twice, then delete all in selection
w Move one word right (w)
C ,<esc> Change until end of line (C) insert ','
j . Go down (j), repeat last command (.)