FunctionShortcutUse this shortcut to...
Enter or or or Enter, or Enter, ^ M, , ⌃M, or ⌃M Depending on the context:
  • In a lookup list: select an item.
  • In the editor: enter a new line and set the caret at its beginning.
Tab or or or Tab, or Tab, or In the editor:
  • With selection: indent selected lines.
  • Without selection: insert a tab symbol (or corresponding number of space characters).
In a lookup list:
  • No code after the caret: select an item.
  • Some code after the caret: select an item and substitute the code after the caret with it.
Delete , , ⌘⌫, , or ⌘⌫, , ⌘⌫, , or ⌘⌫, , ⌘⌫, , or ⌘⌫Delete, or Delete, ^ D, , ⌃D, or ⌃D Depending on the context:
  • In the editor: delete selected symbol/block.
  • In a usage view: exclude a selected item.
  • In other views: remove selected items.
Backspace , ⇧⌫, or ⇧⌫, ⇧⌫, or ⇧⌫, ⇧⌫, or ⇧⌫Backspace, ⇧ Backspace, , ⇧⌫, or ⇧⌫Backspace, ⇧ Backspace, , ⇧⌫, or ⇧⌫ Delete a character to the left of the caret.
Undo ⌘Z or ⌘Z⌘Z or ⌘Z⌘Z or ⌘Z^ Z, ⌃Z or ⌃Z^ ⇧ Minus, ^ Slash, ⌃⇧-, ⌃/, ⌃⇧- or ⌃/ Undo last operation.
Redo ⇧⌘Z, ⌥⇧⌫, ⇧⌘Z or ⌥⇧⌫⇧⌘Z, ⌥⇧⌫, ⇧⌘Z or ⌥⇧⌫⇧⌘Z or ⇧⌘Z^ Y, ^ ⇧ Z, ⌃Y, ⌃⇧Z, ⌃Y or ⌃⇧Z^ ⇧ Z, ⇧ ⌥ Minus, ⌃⇧Z, ⌥⇧-, ⌃⇧Z or ⌥⇧- Redo last undone operation.
Cut ⌘X, ⇧⌦, ⌘X or ⇧⌦⌘X, ⇧⌦, ⌘X or ⇧⌦⌘X, ⇧⌦, ⌘X or ⇧⌦^ X, ⇧ Delete, ⌃X, ⇧⌦, ⌃X or ⇧⌦⇧ Delete, ⌥ X, ⇧⌦, ⌥X, ⇧⌦ or ⌥X Cut a current line or a selected code block to the Clipboard.
Copy ⌘C or ⌘C⌘C or ⌘C⌘C or ⌘C^ C, ^ Insert, ⌃C or ⌃C^ Insert, ⌥ C, Escape, W, ⌥C, ⎋, W, ⌥C or ⎋, W Copy a current line or a selected code block to the Clipboard.
Paste ⌘V or ⌘V⌘V or ⌘V⌘V or ⌘V^ V, ⇧ Insert, ⌃V or ⌃V⌥ P, ⇧ Insert, ^ Y, ⌥P, ⌃Y, ⌥P or ⌃Y Paste from the Clipboard to the caret location.
Paste from History ⇧⌘V or ⇧⌘V⇧⌘V or ⇧⌘V⇧⌘V or ⇧⌘V^ ⇧ V, ^ ⇧ Insert, ⌃⇧V or ⌃⇧V⌥ Y, ⌥Y or ⌥Y Paste selected entry from the Clipboard to the caret location.
Up , ⌃P, or ⌃P or , ⌃P, or ⌃PUp, or Up, ^ P, , ⌃P, or ⌃P Move the caret one line up.
Up with Selection ⇧↑ or ⇧↑⇧↑ or ⇧↑⇧↑ or ⇧↑⇧ Up, ⇧↑ or ⇧↑⇧ Up, ⇧↑ or ⇧↑ Move the caret one line up selecting the text.
Down , ⌃N, or ⌃N or , ⌃N, or ⌃NDown, or Down, ^ N, , ⌃N, or ⌃N Move the caret one line down.
Down with Selection ⇧↓ or ⇧↓⇧↓ or ⇧↓⇧↓ or ⇧↓⇧ Down, ⇧↓ or ⇧↓⇧ Down, ⇧↓ or ⇧↓ Move the caret one line down selecting the text.
Left , ⌃B, or ⌃B or , ⌃B, or ⌃BLeft, or Left, ^ B, , ⌃B, or ⌃B Move the caret one character to the left.
Left with Selection ⇧← or ⇧←⇧← or ⇧←⇧← or ⇧←⇧ Left, ⇧← or ⇧←⇧ Left, ⇧← or ⇧← Move the caret one character to the left selecting the text.
Right , ⌃F, or ⌃F or , ⌃F, or ⌃FRight, or Right, ^ F, , ⌃F, or ⌃F Move the caret one character to the right.
Right with Selection ⇧→ or ⇧→⇧→ or ⇧→⇧→ or ⇧→⇧ Right, ⇧→ or ⇧→⇧ Right, ⇧→ or ⇧→ Move the caret one character to the right selecting the text.
Go to Page Bottom ⌘⇟ or ⌘⇟⌘⇟ or ⌘⇟^ Page Down, ⌃⇟ or ⌃⇟^ Page Down, ⌃⇟ or ⌃⇟ Move the caret down to the page bottom.
Go to Page Bottom with Selection ⇧⌘⇟ or ⇧⌘⇟⇧⌘⇟ or ⇧⌘⇟⇧⌘⇟ or ⇧⌘⇟^ ⇧ Page Down, ⌃⇧⇟ or ⌃⇧⇟^ ⇧ Page Down, ⌃⇧⇟ or ⌃⇧⇟ Move the caret down to the page bottom, selecting the text.
Go to Page Top ⌘⇞ or ⌘⇞⌘⇞ or ⌘⇞^ Page Up, ⌃⇞ or ⌃⇞^ Page Up, ⌃⇞ or ⌃⇞ Move the caret up to the page top.
Go to Page Top with Selection ⇧⌘⇞ or ⇧⌘⇞⇧⌘⇞ or ⇧⌘⇞⇧⌘⇞ or ⇧⌘⇞^ ⇧ Page Up, ⌃⇧⇞ or ⌃⇧⇞^ ⇧ Page Up, ⌃⇧⇞ or ⌃⇧⇞ Move the caret up to the page bottom, selecting the text.
Page Down or or or Page Down, or Page Down, ^ V, , ⌃V, or ⌃V Move the caret one page down.
Page Down with Selection ⇧⇟ or ⇧⇟⇧⇟ or ⇧⇟⇧⇟ or ⇧⇟⇧ Page Down, ⇧⇟ or ⇧⇟⇧ Page Down, ⇧⇟ or ⇧⇟ Move the caret one page down, selecting the text.
Page Up or or or Page Up, or Page Up, ^ Z, ⌥ V, , ⌃Z, ⌥V, , ⌃Z or ⌥V Move the caret one page up.
Page Up with Selection ⇧⇞ or ⇧⇞⇧⇞ or ⇧⇞⇧⇞ or ⇧⇞⇧ Page Up, ⇧⇞ or ⇧⇞⇧ Page Up, ⇧⇞ or ⇧⇞ Move the caret one page up, selecting the text.
Scroll Down ⌘↓ or ⌘↓^ Down, ⌃↓ or ⌃↓ Scroll the text one line down.
Scroll to Center ^ M, ⌃M or ⌃M^ L, ⌃L or ⌃L Scroll a line at caret to the center of the screen.
Scroll Up ⌘↑ or ⌘↑^ Up, ⌃↑ or ⌃↑ Scroll the text one line up.
Move to Line End , ⌘→, ⌃E, , ⌘→ or ⌃E, ⌘→, or ⌘→, ⌘→, ⌃E, , ⌘→ or ⌃EEnd, or End, ^ E, , ⌃E, or ⌃E Move the caret to the end of line.
Move to Line End with Selection ⇧↘, ⇧⌘→, ⇧↘ or ⇧⌘→⇧↘, ⇧⌘→, ⇧↘ or ⇧⌘→⇧↘, ⇧⌘→, ⇧↘ or ⇧⌘→⇧ End, ⇧↘ or ⇧↘⇧ End, ⇧↘ or ⇧↘ Move the caret to the end of line, selecting the text.
Move to Line Start , ⌘←, ⌃A, , ⌘← or ⌃A, ⌘←, or ⌘←, ⌘←, ⌃A, , ⌘← or ⌃AHome, or Home, ^ A, ⌥ M, , ⌃A, ⌥M, , ⌃A or ⌥M Move the caret to the beginning of line.
Move to Line Start with Selection ⇧↖, ⇧⌘←, ⇧↖ or ⇧⌘←⇧↖, ⇧⌘←, ⇧↖ or ⇧⌘←⇧↖, ⇧⌘←, ⇧↖ or ⇧⌘←⇧ Home, ⇧↖ or ⇧↖⇧ Home, ⇧↖ or ⇧↖ Move the caret to the beginning of line, selecting the text.
Move to Next Word ⌥→ or ⌥→⌥→ or ⌥→⌥→ or ⌥→^ Right, ⌃→ or ⌃→^ Right, ⌥ F, Escape, Ctrl F, ⌃→, ⌥F, ⎋, ⌃F, ⌃→, ⌥F or ⎋, ⌃F Move the caret to the next word.
Move to Next Word with Selection ⌥⇧→ or ⌥⇧→⌥⇧→ or ⌥⇧→⌥⇧→ or ⌥⇧→^ ⇧ Right, ⌃⇧→ or ⌃⇧→^ ⇧ Right, ⌃⇧→ or ⌃⇧→ Move the caret to the next word, selecting it.
Move to Previous Word ⌥← or ⌥←⌥← or ⌥←⌥← or ⌥←^ Left, ⌃← or ⌃←^ Left, ⌥ B, Escape, Ctrl B, ⌃←, ⌥B, ⎋, ⌃B, ⌃←, ⌥B or ⎋, ⌃B Move the caret to the previous word.
Move to Previous Word with Selection ⌥⇧← or ⌥⇧←⌥⇧← or ⌥⇧←⌥⇧← or ⌥⇧←^ ⇧ Left, ⌃⇧← or ⌃⇧←^ ⇧ Left, ⌃⇧← or ⌃⇧← Move the caret to the previous word, selecting it.
Move to Text End ⌘↘ or ⌘↘⌘↘ or ⌘↘⌘↘ or ⌘↘^ End, ⌃↘ or ⌃↘^ End, ⇧ ⌥ Period, ⌃↘, ⌥⇧., ⌃↘ or ⌥⇧. Move the caret to the end of text.
Move to Text End with Selection ⇧⌘↘ or ⇧⌘↘⇧⌘↘ or ⇧⌘↘⇧⌘↘ or ⇧⌘↘^ ⇧ End, ⌃⇧↘ or ⌃⇧↘^ ⇧ End, ⌃⇧↘ or ⌃⇧↘ Move the caret to the end of text, selecting it.
Move to Text Start ⌘↖ or ⌘↖⌘↖ or ⌘↖⌘↖ or ⌘↖^ Home, ⌃↖ or ⌃↖^ Home, ⇧ ⌥ Comma, Escape, Comma, ⌃↖, ⌥⇧,, ⎋, ,, ⌃↖, ⌥⇧, or ⎋, , Move the caret to the beginning of text.
Move to Text Start with Selection. ⇧⌘↖ or ⇧⌘↖⇧⌘↖ or ⇧⌘↖⇧⌘↖ or ⇧⌘↖^ ⇧ Home, ⌃⇧↖ or ⌃⇧↖^ ⇧ Home, ⌃⇧↖ or ⌃⇧↖ Move the caret to the beginning of text, selecting it.
Select All ⌘A or ⌘A⌘A or ⌘A⌘A or ⌘A^ A, ⌃A or ⌃A^ X, H, ⌃X, H or ⌃X, H Select the entire text opened in the editor.
Delete Line at Caret ⌘⌫ or ⌘⌫⌘Y or ⌘Y⌘D or ⌘D^ ⇧ L, ⌃⇧L or ⌃⇧L Delete the line where the caret is currently located.
Delete to Word End ⌥⌦ or ⌥⌦⌥⌦ or ⌥⌦⌘⌦ or ⌘⌦^ Delete, ⌃⌦ or ⌃⌦^ Delete, ⌃⌦ or ⌃⌦ Delete the word starting from the current caret location up to the word end.
Delete to Word Start ⌥⌫ or ⌥⌫⌥⌫ or ⌥⌫⌘⌫ or ⌘⌫^ Backspace, ⌃⌫ or ⌃⌫^ Backspace, ⌥ Backspace, Escape, Backspace, ⌃⌫, ⌥⌫, ⎋, ⌫, ⌃⌫, ⌥⌫ or ⎋, ⌫ Delete the word starting from the current caret location up to the word start.
Toggle Insert/Overwrite ⇧⌫ or ⇧⌫⇧⌫ or ⇧⌫InsertInsert Toggle insert/overwrite modes.
Duplicate Line or Block ⌘D or ⌘D⌘D or ⌘D^ D, ⌃D or ⌃D⌘ D, ⌘D or ⌘D Duplicate selected block or the line at the caret.
Toggle Case ⇧⌘U or ⇧⌘U⇧⌘U or ⇧⌘U⇧⌘X, ⇧⌘Y, ⇧⌘X or ⇧⌘Y^ ⇧ U, ⌃⇧U or ⌃⇧U^ ⇧ U, ⌃⇧U or ⌃⇧U Toggle case of the selected text block.
Move to Code Block End ⌥⌘] or ⌥⌘]⌘] or ⌘]⌃], ⌃⇧P, ⌃] or ⌃⇧P^ Close Bracket, ^ Asterisk, ⌃], ⌃*, ⌃] or ⌃*^ Close Bracket, ^ ⌥ Close Bracket, ⌃], ⌃⌥], ⌃] or ⌃⌥] Move the caret to the current code block end, highlighting the block limits.
Move to Code Block End with Selection ⌥⇧⌘] or ⌥⇧⌘]⇧⌘] or ⇧⌘]⌥⇧⌘] or ⌥⇧⌘]^ ⇧ Close Bracket, ⌃⇧] or ⌃⇧]^ ⇧ Close Bracket, ⌃⇧] or ⌃⇧] Move the caret to the current code block end, selecting the code beginning from the initial caret location.
Move to Code Block Start ⌥⌘[ or ⌥⌘[⌘[ or ⌘[⌥⌘[ or ⌥⌘[^ Open Bracket, ⌃[ or ⌃[^ Open Bracket, ^ ⌥ Open Bracket, ⌃[, ⌃⌥[, ⌃[ or ⌃⌥[ Move the caret to the current code block start, highlighting the block limits.
Move to Code Block Start with Selection ⌥⇧⌘[ or ⌥⇧⌘[⇧⌘[ or ⇧⌘[⌥⇧⌘[ or ⌥⇧⌘[^ ⇧ Open Bracket, ⌃⇧[ or ⌃⇧[^ ⇧ Open Bracket, ⌃⇧[ or ⌃⇧[ Move the caret to the current code block start, selecting the code beginning from the initial caret location.
Start New Line ⇧⏎ or ⇧⏎⇧⏎ or ⇧⏎⇧⏎ or ⇧⏎⇧ Enter, ⇧⏎ or ⇧⏎⇧ Enter, ⇧⏎ or ⇧⏎ Start a new line after the current one positioning the caret in accordance with the current indentation level.
Start New Line Before Current One⌥⌘⏎ or ⌥⌘⏎⌥⌘⏎ or ⌥⌘⏎⌥⌘⏎ or ⌥⌘⏎^ ⌥ Enter, ⌃⌥⏎ or ⌃⌥⏎^ ⌥ Enter, ⌃⌥⏎ or ⌃⌥⏎Start a new line before the current one.
Join Lines ⌃⇧J or ⌃⇧J⌃⇧J or ⌃⇧J⌃⇧J or ⌃⇧J^ ⇧ J, ⌃⇧J or ⌃⇧J^ ⇧ J, ⌃⇧J or ⌃⇧J Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.
Split Line ⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎^ Enter, ⌃⏎ or ⌃⏎^ O, ⌃O or ⌃O Split the selected line at the point where the caret is located, leaving the caret at the end of the first line.
Select Word at Caret ⌥↑ or ⌥↑⌘W or ⌘W⌃⇧↑ or ⌃⇧↑^ W, ⌃W or ⌃W^ ⌥ W, ⌃⌥W or ⌃⌥W Select successively increasing code blocks starting from the current caret location.
Unselect Word at Caret ⌥↓ or ⌥↓⇧⌘W or ⇧⌘W⌃⇧↓ or ⌃⇧↓^ ⇧ W, ⌃⇧W or ⌃⇧W^ ⇧ W, ⌃⇧W or ⌃⇧W Remove sequentially the selection made by the action.
Indent Selection or or or Tab, or Tab, or Move the selected block to the next indentation level.
Unindent Selection ⇧⇥ or ⇧⇥⇧⇥ or ⇧⇥⇧⇥ or ⇧⇥⇧ Tab, ⇧⇥ or ⇧⇥⇧ Tab, ⇧⇥ or ⇧⇥ Move the selected block to the previous indentation level.
Auto-Indent Lines ⌃⌥I or ⌃⌥I⌥⌘I or ⌥⌘I⌘I or ⌘I^ ⌥ I, ⌃⌥I or ⌃⌥I^ ⌥ I, ^ ⌥ Q, ⌃⌥I, ⌃⌥Q, ⌃⌥I or ⌃⌥Q Indent the current line or selected block according to the General settings.

See Also

Procedures:

Reference:

Getting Started: