Programming » Wordpress

Ace Editor Shortcuts

1. Basic Lines

Ctrl+D Remove line
Ctrl+Shift+D Duplicate selection
Tab, Ctrl+] Indent
Shift+Tab, Ctrl+[ Unindent
Alt+Up Move lines up
Alt+Down Move lines down
Alt+Shift+Up Copy lines up
Alt+Shift+Down Copy lines down
Alt+Delete Remove to line end
Alt+Backspace Remove to linestart

2. Multicursor

Ctrl+Alt+Up Add multi-cursor above
Ctrl+Alt+Down Add multi-cursor below
Ctrl+Alt+Right Add next occurrence to multi-selection
Ctrl+Alt+Left Add previous occurrence to multi-selection
Ctrl+Alt+Shift+Up Move multicursor from current line to the line above
Ctrl+Alt+Shift+Down Move multicursor from current line to the line below
Ctrl+Alt+Shift+Right Remove current occurrence from multi-selection and move to next
Ctrl+Alt+Shift+Left Remove current occurrence from multi-selection and move to previous

3. Foldings

Alt+0 Fold all
Alt+Shift+0 Unfold all
Alt+L, Ctrl+F1 Fold selection
Alt+Shift+L, Ctrl+Shift+F1 Unfold
F2 Toggle fold

4. Go To

Ctrl+L Go to line
Ctrl+P Go to matching bracket
Ctrl+Shift+P Select to matching bracket

5. Increment/Decrement

Ctrl+Up/Down Increase/decrease number by 1
Alt+Up/Down Increase/decrease number by 0.1
Alt+Shift+Up/Down Increase/decrease number by 10

6. Find

Ctrl+F Find
Ctrl+H Replace
Alt+K Find under cursor or find next
Alt+Shift+K Find under cursor or find previous
Ctrl+K Find next
Ctrl+Shift+K Find previous
Ctrl+Alt+K Find all and add to multiselection

7. Other Commands

Ctrl+/ Toggle comment
Ctrl+Z Undo
Ctrl+Y, Ctrl+Shift+Z Redo
Ctrl+Alt+S Sort lines
F11 Full screen

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>