Cut line (empty selection)
Ctrl+X
| Shortcut | Keybinding (US English Keyboard) |
| Cut line (empty selection) | Ctrl+X |
| Copy line (empty selection) | Ctrl+C |
| Move line up | Alt+↑ |
| Move line down | Alt+↓ |
| Delete line | Ctrl+⇧ Shift+K |
| Delete token left of cursor | Ctrl+Backspace |
| Insert line above | Ctrl+⇧ Shift+⏎ Enter |
| Insert line below | Ctrl+⏎ Enter |
| Jump to matching bracket | Ctrl+⇧ Shift+\ |
| Indent line | Ctrl+] |
| Outdent line | Ctrl+[ |
| Go to beginning of line | Home |
| Go to end of line | End |
| Go to beginning of file | Ctrl+Home |
| Go to end of file | Ctrl+End |
| Scroll line up | Ctrl+↑ |
| Scroll line down | Ctrl+↓ |
| Scroll page up | Alt+Page Up |
| Scroll page down | Alt+Page Down |
| Go to beginning of previous word | Ctrl+← |
| Go to end of the next word | Ctrl+→ |
| Fold region | Ctrl+⇧ Shift+[ |
| Unfold region | Ctrl+⇧ Shift+] |
| Fold all subregions | Ctrl+K+Ctrl+[ |
| Unfold all subregions | Ctrl+K+Ctrl+] |
| Fold all regions | Ctrl+K+Ctrl+0 |
| Unfold all regions | Ctrl+K+Ctrl+J |
| Add line comment | Ctrl+K+Ctrl+C |
| Remove line comment | Ctrl+K+Ctrl+U |
| Toggle line comment | Ctrl+/ |
| Toggle block comment | Ctrl+⇧ Shift+A |