Show Menu
Cheatography

Ace Editor Keyboard Shortcuts by

ACE Editor shortcuts http://ace.c9.io/

Line Operations

Windows/ Linux
Mac
Action
Ctrl-D
Command-D
Remove line
Alt-Sh­ift­-Down
Comman­d-O­pti­on-Down
Copy lines down
Alt-Sh­ift-Up
Comman­d-O­pti­on-Up
Copy lines up
Alt-Down
Option­-Down
Move lines down
Alt-Up
Option-Up
Move lines up
Alt-Delete
Ctrl-K
Remove to line end
Alt-Ba­ckspace
Comman­d-B­ack­space
Remove to linestart
Ctrl-B­ack­space
Option­-Ba­cks­pace,
Ctrl-Option-Backspace
Remove word left
Ctrl-D­elete
Option­-Delete
Remove word right
---
Ctrl-O
Split line

Selection

Windows/ Linux
Mac
Action
Ctrl-A
Command-A
Select all
Shift-Left
Shift-Left
Select left
Shift-­Right
Shift-­Right
Select right
Ctrl-S­hif­t-Left
Option­-Sh­ift­-Left
Select word left
Ctrl-S­hif­t-Right
Option­-Sh­ift­-Right
Select word right
Shift-Home
Shift-Home
Select line start
Shift-End
Shift-End
Select line end
Alt-Sh­ift­-Right
Comman­d-S­hif­t-Right
Select to line end
Alt-Sh­ift­-Left
Comman­d-S­hif­t-Left
Select to line start
Shift-Up
Shift-Up
Select up
Shift-Down
Shift-Down
Select down
Shift-­PageUp
Shift-­PageUp
Select page up
Shift-­Pag­eDown
Shift-­Pag­eDown
Select page down
Ctrl-S­hif­t-Home
Comman­d-S­hift-Up
Select to start
Ctrl-S­hif­t-End
Comman­d-S­hif­t-Down
Select to end
Ctrl-S­hift-D
Comman­d-S­hift-D
Duplicate selection
Ctrl-S­hift-P
---
Select to matching bracket

Multic­ursor

Windows/ Linux
Mac
Action
Ctrl-A­lt-Up
Ctrl-O­pti­on-Up
Add multi-­cursor above
Ctrl-A­lt-Down
Ctrl-O­pti­on-Down
Add multi-­cursor below
Ctrl-A­lt-­Right
Ctrl-O­pti­on-­Right
Add next occurrence
to multi-­sel­ection
Ctrl-A­lt-Left
Ctrl-O­pti­on-Left
Add previous occurrence
to multi-­sel­ection
Ctrl-A­lt-­Shi­ft-Up
Ctrl-O­pti­on-­Shi­ft-Up
Move multic­ursor from
current line to
the line above
Ctrl-A­lt-­Shi­ft-Down
Ctrl-O­pti­on-­Shi­ft-Down
Move multic­ursor from
current line to
the line below
Ctrl-A­lt-­Shi­ft-­Right
Ctrl-O­pti­on-­Shi­ft-­Right
Remove current occurrence
from multi-selection
and move to next
Ctrl-A­lt-­Shi­ft-Left
Ctrl-O­pti­on-­Shi­ft-Left
Remove current occurrence
from multi-selection
and move to previous
Ctrl-S­hift-L
Ctrl-S­hift-L
Select all from multi-­sel­ection
 

Go to

Windows/ Linux
Mac
Action
Left
Left, Ctrl-B
Go to left
Right
Right, Ctrl-F
Go to right
Ctrl-Left
Option­-Left
Go to word left
Ctrl-Right
Option­-Right
Go to word right
Up
Up, Ctrl-P
Go line up
Down
Down, Ctrl-N
Go line down
Alt-Left, Home
Command-Left,
Home, Ctrl-A
Go to line start
Alt-Right, End
Command-Right,
End, Ctrl-E
Go to line end
PageUp
Option­-PageUp
Go to page up
PageDown
Option-PageDown,
Ctrl-V
Go to page down
Ctrl-Home
Command-Home,
Command-Up
Go to start
Ctrl-End
Command-End,
Command-Down
Go to end
Ctrl-L
Command-L
Go to line
Ctrl-Down
Comman­d-Down
Scroll line down
Ctrl-Up
---
Scroll line up
Ctrl-P
---
Go to matching bracket
---
Option­-Pa­geDown
Scroll page down
---
Option­-PageUp
Scroll page up

Find/R­eplace

Windows/ Linux
Mac
Action
Ctrl-F
Command-F
Find
Ctrl-H
Comman­d-O­ption-F
Replace
Ctrl-K
Command-G
Find next
Ctrl-S­hift-K
Comman­d-S­hift-G
Find previous

Folding

Windows/ Linux
Mac
Action
Alt-L, Ctrl-F1
Comman­d-O­pti­on-L, Command-F1
Fold selection
Alt-Shift-L,
Ctrl-Shift-F1
Command-Option-Shift-L,
Command-Shift-F1
Unfold
Alt-0
Comman­d-O­ption-0
Fold all
Alt-Sh­ift-0
Comman­d-O­pti­on-­Shift-0
Unfold all

Other

Windows/ Linux
Mac
Action
Tab
Tab
Indent
Shift-Tab
Shift-Tab
Outdent
Ctrl-Z
Command-Z
Undo
Ctrl-Shift-Z,
Ctrl-Y
Command-Shift-Z,
Command-Y
Redo
Ctrl-,
Command-,
Show the settings menu
Ctrl-/
Command-/
Toggle comment
Ctrl-T
Ctrl-T
Transpose letters
Ctrl-Enter
Comman­d-Enter
Enter full screen
Ctrl-S­hift-U
Ctrl-S­hift-U
Change to lower case
Ctrl-U
Ctrl-U
Change to upper case
Insert
Insert
Overwrite
Ctrl-S­hift-E
Comman­d-S­hift-E
Macros replay
Ctrl-Alt-E
---
Macros recording
Delete
---
Delete
---
Ctrl-L
Center selection
           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Sublime Text 2 (Linux) Cheat Sheet
          Nano Editor Keyboard Shortcuts

          More Cheat Sheets by bipinthite

          Nano Editor Keyboard Shortcuts