FunctionShortcutUse this shortcut to...
Enter EnterEnter 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 TabTab 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 DeleteDelete 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 BackspaceBackspace Delete a character to the left of the caret.
Undo ⌘Z⌘Z⌘Z^ Z^ ⇧ Minus Undo last operation.
Redo ⇧⌘Z⇧⌘Z⇧⌘Z^ Y^ ⇧ Z Redo last undone operation.
Cut ⌘X⌘X⌘X^ X⇧ Delete Cut a current line or a selected code block to the Clipboard.
Copy ⌘C⌘C⌘C^ C^ Insert Copy a current line or a selected code block to the Clipboard.
Paste ⌘V⌘V⌘V^ V⌥ P Paste from the Clipboard to the caret location.
Paste from History ⇧⌘V⇧⌘V⇧⌘V^ ⇧ V⌥ Y Paste selected entry from the Clipboard to the caret location.
Up UpUp Move the caret one line up.
Up with Selection ⇧↑⇧↑⇧↑⇧ Up⇧ Up Move the caret one line up selecting the text.
Down DownDown Move the caret one line down.
Down with Selection ⇧↓⇧↓⇧↓⇧ Down⇧ Down Move the caret one line down selecting the text.
Left LeftLeft Move the caret one character to the left.
Left with Selection ⇧←⇧←⇧←⇧ Left⇧ Left Move the caret one character to the left selecting the text.
Right RightRight Move the caret one character to the right.
Right with Selection ⇧→⇧→⇧→⇧ Right⇧ Right Move the caret one character to the right selecting the text.
Go to Page Bottom ⌘⇟⌘⇟^ Page Down^ Page Down Move the caret down to the page bottom.
Go to Page Bottom with Selection ⇧⌘⇟⇧⌘⇟⇧⌘⇟^ ⇧ Page Down^ ⇧ Page Down Move the caret down to the page bottom, selecting the text.
Go to Page Top ⌘⇞⌘⇞^ Page Up^ Page Up Move the caret up to the page top.
Go to Page Top with Selection ⇧⌘⇞⇧⌘⇞⇧⌘⇞^ ⇧ Page Up^ ⇧ Page Up Move the caret up to the page bottom, selecting the text.
Page Down Page DownPage Down Move the caret one page down.
Page Down with Selection ⇧⇟⇧⇟⇧⇟⇧ Page Down⇧ Page Down Move the caret one page down, selecting the text.
Page Up Page UpPage Up Move the caret one page up.
Page Up with Selection ⇧⇞⇧⇞⇧⇞⇧ Page Up⇧ Page Up Move the caret one page up, selecting the text.
Scroll Down ⌘↓^ Down Scroll the text one line down.
Scroll to Center ^ M^ L Scroll a line at caret to the center of the screen.
Scroll Up ⌘↑^ Up Scroll the text one line up.
Move to Line End EndEnd Move the caret to the end of line.
Move to Line End with Selection ⇧↘⇧↘⇧↘⇧ End⇧ End Move the caret to the end of line, selecting the text.
Move to Line Start HomeHome Move the caret to the beginning of line.
Move to Line Start with Selection ⇧↖⇧↖⇧↖⇧ Home⇧ Home Move the caret to the beginning of line, selecting the text.
Move to Next Word ⌥→⌥→⌥→^ Right^ Right Move the caret to the next word.
Move to Next Word with Selection ⌥⇧→⌥⇧→⌥⇧→^ ⇧ Right^ ⇧ Right Move the caret to the next word, selecting it.
Move to Previous Word ⌥←⌥←⌥←^ Left^ Left Move the caret to the previous word.
Move to Previous Word with Selection ⌥⇧←⌥⇧←⌥⇧←^ ⇧ Left^ ⇧ Left Move the caret to the previous word, selecting it.
Move to Text End ⌘↘⌘↘⌘↘^ End^ End Move the caret to the end of text.
Move to Text End with Selection ⇧⌘↘⇧⌘↘⇧⌘↘^ ⇧ End^ ⇧ End Move the caret to the end of text, selecting it.
Move to Text Start ⌘↖⌘↖⌘↖^ Home^ Home Move the caret to the beginning of text.
Move to Text Start with Selection. ⇧⌘↖⇧⌘↖⇧⌘↖^ ⇧ Home^ ⇧ Home Move the caret to the beginning of text, selecting it.
Select All ⌘A⌘A⌘A^ A^ X, H Select the entire text opened in the editor.
Delete Line at Caret ⌘⌫⌘Y⌘D^ ⇧ L Delete the line where the caret is currently located.
Delete to Word End ⌥⌦⌥⌦⌘⌦^ Delete^ Delete Delete the word starting from the current caret location up to the word end.
Delete to Word Start ⌥⌫⌥⌫⌘⌫^ Backspace^ Backspace Delete the word starting from the current caret location up to the word start.
Toggle Insert/Overwrite ⇧⌫⇧⌫InsertInsert Toggle insert/overwrite modes.
Duplicate Line or Block ⌘D⌘D^ D⌘ D Duplicate selected block or the line at the caret.
Toggle Case ⇧⌘U⇧⌘U⇧⌘X^ ⇧ U^ ⇧ U Toggle case of the selected text block.
Move to Code Block End ⌥⌘]⌘]⌃]^ Close Bracket^ Close Bracket Move the caret to the current code block end, highlighting the block limits.
Move to Code Block End with Selection ⌥⇧⌘]⇧⌘]⌥⇧⌘]^ ⇧ Close Bracket^ ⇧ Close Bracket Move the caret to the current code block end, selecting the code beginning from the initial caret location.
Move to Code Block Start ⌥⌘[⌘[⌥⌘[^ Open Bracket^ Open Bracket Move the caret to the current code block start, highlighting the block limits.
Move to Code Block Start with Selection ⌥⇧⌘[⇧⌘[⌥⇧⌘[^ ⇧ Open Bracket^ ⇧ Open Bracket Move the caret to the current code block start, selecting the code beginning from the initial caret location.
Start New Line ⇧⏎⇧⏎⇧⏎⇧ Enter⇧ Enter Start a new line after the current one positioning the caret in accordance with the current indentation level.
Start New Line Before Current One⌥⌘⏎⌥⌘⏎⌥⌘⏎^ ⌥ Enter^ ⌥ EnterStart a new line before the current one.
Join Lines ⌃⇧J⌃⇧J⌃⇧J^ ⇧ J^ ⇧ J Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.
Split Line ⌘⏎⌘⏎⌘⏎^ Enter^ 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 ⌥↑⌘W⌃⇧↑^ W^ ⌥ W Select successively increasing code blocks starting from the current caret location.
Unselect Word at Caret ⌥↓⇧⌘W⌃⇧↓^ ⇧ W^ ⇧ W Remove sequentially the selection made by the action.
Indent Selection TabTab Move the selected block to the next indentation level.
Unindent Selection ⇧⇥⇧⇥⇧⇥⇧ Tab⇧ Tab Move the selected block to the previous indentation level.
Auto-Indent Lines ⌃⌥I⌥⌘I⌘I^ ⌥ I^ ⌥ I Indent the current line or selected block according to the General settings.

See Also

Procedures:

Reference:

Getting Started: