Show Menu
Cheatography

Code Editor Keyboard Shortcuts (DRAFT) by

This is for me and anybody who wants it.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Autoco­mplete

Create HTML document from scratch
! + Shift
Generate 50(n) words of Lorem Ipsum text
lorem50 + Shift
Open and close element type
Type element's name + Shift
Encaps­ulate selected text inside an element
Select content and >wrap + Type element name
Generate n elements (3 li elements)
li*3
Generate element with indicated ID
div#idname
Generate element with indicated ID 3 times
div#id­name*3
Generate element with n sub-el­ements (list)
ul>­li*­5{I­tem$}
Generate element with x class
div.x
 
.x
 

Duplic­ating

Duplicate line
Alt + Shift + Down
 
Ctrl + D

Commenting

Select, Ctrl+/

Editing

Multiple cursors (lines)
Ctrl+A­lt+UP
 

Replacing

Edit open and close tag at the same time
Ctrl +D, Select tag and type
 
Esc twice to close editing