Editor Keyboard Shortcuts

From Bot Brackets Wiki
Jump to: navigation, search

The following keyboard shortcuts are available in the CodeMirror editor (when on a PC browser):

Basic Editor Commands

Ctrl-A 
Select all
Ctrl-Z 
Undo
Ctrl-Y / Shift-Ctrl-Z 
Redo
Ctrl-Q 
Toggle code folding at current line

Deletions

Ctrl-D 
Delete current line
Ctrl-Backspace 
Delete one word to the left
Ctrl-Delete 
Delete one word to the right

Navigation

Ctrl-Home / Alt-Up 
Go to top
Ctrl-End / Ctrl-Down 
Go to bottom
Ctrl-Left 
Move cursor one word to the left
Ctrl-Right 
Move cursor one word to the right
Home / Alt-Left 
Move cursor to beginning of current line
End / Alt-Right 
Move cursor to end of current line
Ctrl-L 
Go to line

Find and Replace

Ctrl-F 
Find
Ctrl-G 
Find next
Shift-Ctrl-G 
Find previous
Shift-Ctrl-F 
Replace
Shift-Ctrl-R 
Replace all