Keyboard shortcuts
The Code node editing environment supports a range of keyboard shortcuts to speed up and enhance your experience. Select the appropriate tab to see the relevant shortcuts for your operating system.
Cursor Movement
Move cursor left
← Left
Move cursor right
→ Right
Move cursor up
↑ Up
Move cursor down
↓ Down
Move cursor by word left
^ Ctrl + ← Left
Move cursor by word right
^ Ctrl + → Right
Move to line start
⤒ Home or ^ Ctrl + ← Left
Move to line end
⤓ End or ^ Ctrl + → Right
Move to document start
^ Ctrl or ⤒ Home
Move to document end
^ Ctrl or ⤓ End
Move page up
⇞ Page Up
Move page down
⇟ Page Down
Move cursor left
← Left or ^ Ctrl + B
Move cursor right
→ Right or ^ Ctrl + F
Move cursor up
↑ Up or ^ Ctrl + P
Move cursor down
↓ Down or ^ Ctrl + N
Move cursor by word left
⌥ Option + ← Left
Move cursor by word right
⌥ Option + → Right
Move to line start
⌘ Cmd + ← Left or ^ Ctrl + A
Move to line end
⌘ Cmd + → Right or ^ Ctrl + E
Move to document start
⌘ Cmd + ↑ Up
Move to document end
⌘ Cmd + ↓ Down
Move page up
⇞ Page Up
Move page down
⇟ Page Down
Move cursor left
← Left
Move cursor right
→ Right
Move cursor up
↑ Up
Move cursor down
↓ Down
Move cursor by word left
^ Ctrl + ← Left
Move cursor by word right
^ Ctrl + → Right
Move to line start
⤒ Home or ^ Ctrl + ← Left
Move to line end
⤓ End or ^ Ctrl + → Right
Move to document start
^ Ctrl or ⤒ Home
Move to document end
^ Ctrl or ⤓ End
Move page up
⇞ Page Up
Move page down
⇟ Page Down
Selection
Selection with any movement key
⇧ Shift + [Movement Key]
Select all
^ Ctrl + A
Select line
^ Ctrl + L
Select next occurrence
^ Ctrl + D
Select all occurrences
⇧ Shift + ^ Ctrl + L
Go to matching bracket
⇧ Shift + ^ Ctrl + \
Selection with any movement key
⇧ Shift + [Movement Key]
Select all
⌘ Cmd + A
Select line
⌘ Cmd + L
Select next occurrence
⌘ Cmd + D
Go to matching bracket
⇧ Shift + ⌘ Cmd + \
Selection with any movement key
⇧ Shift + [Movement Key]
Select all
^ Ctrl + A
Select line
^ Ctrl + L
Select next occurrence
^ Ctrl + D
Select all occurrences
⇧ Shift + ^ Ctrl + L
Go to matching bracket
⇧ Shift + ^ Ctrl + \
Basic Operations
New line with indentation
Enter ⏎
Undo
^ Ctrl + Z
Redo
^ Ctrl + Y or ^ Ctrl + ⇧ Shift + V
Undo selection
^ Ctrl + U
Copy
^ Ctrl + C
Cut
^ Ctrl + X
Paste
^ Ctrl + V
New line with indentation
Enter ⏎
Undo
⌘ Cmd + Z
Redo
⌘ Cmd + Y or ⌘ Cmd + ⇧ Shift + Y
Undo selection
⌘ Cmd + U
Copy
⌘ Cmd + C
Cut
⌘ Cmd + X
Paste
⌘ Cmd + V
New line with indentation
Enter ⏎
Undo
^ Ctrl + Z
Redo
^ Ctrl + Y or ^ Ctrl + ⇧ Shift + V
Undo selection
^ Ctrl + U
Copy
^ Ctrl + C
Cut
^ Ctrl + X
Paste
^ Ctrl + V
Delete Operations
Delete character left
⌫ Backspace
Delete character right
⌦ Del
Delete word left
^ Ctrl + ⌫ Backspace
Delete word right
^ Ctrl + ⌦ Del
Delete line
⇧ Shift + ^ Ctrl + K
Delete character left
⌫ Backspace
Delete character right
⌦ Del
Delete word left
⌥ Option + ⌫ Backspace or ^ Ctrl + ⌘ Cmd + H
Delete word right
⌥ Option + ⌦ Del or Fn + ⌥ Option + ⌦ Del
Delete line
⇧ Shift + ⌘ Cmd + K
Delete to line start
⌘ Cmd + ⌫ Backspace
Delete to line end
⌘ Cmd + ⌦ Del or ^ Ctrl + K
Delete character left
⌫ Backspace
Delete character right
⌦ Del
Delete word left
^ Ctrl + ⌫ Backspace
Delete word right
^ Ctrl + ⌦ Del
Delete line
⇧ Shift + ^ Ctrl + K
Line Operations
Move line up
⎇ Alt + ↑ Up
Move line down
⎇ Alt + ↓ Down
Copy line up
⇧ Shift + ⎇ Alt + ↑ Up
Copy line down
⇧ Shift + ⎇ Alt + ↓ Down
Toggle line comment
^ Ctrl + /
Add line comment
^ Ctrl + K then ^ Ctrl + C
Remove line comment
^ Ctrl + K then ^ Ctrl + U
Toggle block comment
⇧ Shift + ⎇ Alt + A
Move line up
⌥ Option + ↑ Up
Move line down
⌥ Option + ↓ Down
Copy line up
⇧ Shift + ⌥ Option + ↑ Up
Copy line down
⇧ Shift + ⌥ Option + ↓ Down
Toggle line comment
⌘ Cmd + /
Add line comment
⌘ Cmd + K then ⌘ Cmd + C
Remove line comment
⌘ Cmd + K then ⌘ Cmd + U
Toggle block comment
⇧ Shift + ⌥ Option + A
Split line
^ Ctrl + O
Transpose characters
^ Ctrl + T
Move line up
⎇ Alt + ↑ Up
Move line down
⎇ Alt + ↓ Down
Copy line up
⇧ Shift + ⎇ Alt + ↑ Up
Copy line down
⇧ Shift + ⎇ Alt + ↓ Down
Toggle line comment
^ Ctrl + /
Add line comment
^ Ctrl + K then ^ Ctrl + C
Remove line comment
^ Ctrl + K then ^ Ctrl + U
Toggle block comment
⇧ Shift + ⎇ Alt + A
Autocomplete
Start completion
^ Ctrl + Space
Accept completion
Enter ⏎ or Tab ⇥
Close completion
⎋ Esc
Navigate completion options
↑ Up or ↓ Down
Start completion
^ Ctrl + Space
Accept completion
Enter ⏎ or Tab ⇥
Close completion
⎋ Esc
Navigate completion options
↑ Up or ↓ Down
Start completion
^ Ctrl + Space
Accept completion
Enter ⏎ or Tab ⇥
Close completion
⎋ Esc
Navigate completion options
↑ Up or ↓ Down
Indentation
Indent more
Tab ⇥ or ^ Ctrl + ]
Indent less
⇧ Shift + Tab ⇥ or ^ Ctrl + [
Indent more
⌘ Cmd + ]
Indent less
⌘ Cmd + [
Indent more
Tab ⇥ or ^ Ctrl + ]
Indent less
⇧ Shift + Tab ⇥ or ^ Ctrl + [
Code Folding
Fold code
^ Ctrl + ⇧ Shift + [
Unfold code
^ Ctrl + ⇧ Shift + ]
Fold all
^ Ctrl + K then ^ Ctrl + 0
Unfold all
^ Ctrl + K then ^ Ctrl + J
Fold code
⌘ Cmd + ⌥ Option + [
Unfold code
⌘ Cmd + ⌥ Option + ]
Fold all
⌘ Cmd + K then ⌘ Cmd + 0
Unfold all
⌘ Cmd + K then ⌘ Cmd + J
Fold code
^ Ctrl + ⇧ Shift + [
Unfold code
^ Ctrl + ⇧ Shift + ]
Fold all
^ Ctrl + K then ^ Ctrl + 0
Unfold all
^ Ctrl + K then ^ Ctrl + J
Multi-cursor
Add cursor at click position
⎇ Alt + Left Button
Add cursor above
^ Ctrl + ⎇ Alt + ↑ Up
Add cursor below
^ Ctrl + ⎇ Alt + ↓ Down
Add cursors to line ends
⇧ Shift + ⎇ Alt + I
Clear multiple cursors
⎋ Esc
Add cursor at click position
⌥ Option + Left Button
Add cursor above
^ Ctrl + ⌥ Option + ↑ Up
Add cursor below
^ Ctrl + ⌥ Option + ↓ Down
Add cursors to line ends
⇧ Shift + ⌥ Option + I
Clear multiple cursors
⎋ Esc
Add cursor at click position
⎇ Alt + Left Button
Add cursor above
^ Ctrl + ⎇ Alt + ↑ Up
Add cursor below
^ Ctrl + ⎇ Alt + ↓ Down
Add cursors to line ends
⇧ Shift + ⎇ Alt + I
Clear multiple cursors
⎋ Esc
Formatting
Format document
⇧ Shift + ⎇ Alt + F
Format document
⇧ Shift + ⌘ Cmd + F
Format document
^ Ctrl + ⇧ Shift + I
Search & Navigation
Last updated
Was this helpful?