2022-11-23 16:37:30 +08:00
|
|
|
---
|
2022-12-27 10:19:57 +08:00
|
|
|
title: Code Editor for iOS
|
2022-11-23 16:37:30 +08:00
|
|
|
date: 2022-11-23 16:23:31.697110
|
2022-12-22 11:39:35 +08:00
|
|
|
background: bg-[#4880c2]
|
2022-11-23 17:54:15 +08:00
|
|
|
label: Mac
|
2024-05-22 03:37:57 -07:00
|
|
|
tags:
|
|
|
|
|
-
|
|
|
|
|
- mac
|
2022-11-23 16:37:30 +08:00
|
|
|
categories:
|
2024-05-22 03:37:57 -07:00
|
|
|
- Keyboard Shortcuts
|
2022-11-23 16:37:30 +08:00
|
|
|
intro: |
|
2024-05-22 03:37:57 -07:00
|
|
|
A visual cheat-sheet for the 43 keyboard shortcuts found in the Code Editor for iOS app. This application is MacOS-only.
|
2022-11-23 16:37:30 +08:00
|
|
|
---
|
|
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
## Keyboard Shortcuts {.cols-2}
|
2022-11-23 16:37:30 +08:00
|
|
|
|
2022-12-13 09:53:16 +08:00
|
|
|
### General Shortcuts I
|
2022-11-23 16:37:30 +08:00
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
| Shortcut | Action |
|
|
|
|
|
| ----------------- | ------------------------------------------------------------- |
|
|
|
|
|
| `Esc` | Show completions |
|
|
|
|
|
| `Tab` | Insert indent, depending on the preferences of tabs or spaces |
|
|
|
|
|
| `Cmd` `N` | New document tab |
|
|
|
|
|
| `Cmd` `W` | Close tab |
|
|
|
|
|
| `Cmd` `S` | Save |
|
|
|
|
|
| `Cmd` `Z` | Undo |
|
|
|
|
|
| `Cmd` `Shift` `Z` | Redo |
|
|
|
|
|
| `Cmd` `A` | Select all |
|
|
|
|
|
| `Cmd` `X` | Cut |
|
|
|
|
|
| `Cmd` `C` | Copy |
|
|
|
|
|
| `Cmd` `V` | Paste |
|
|
|
|
|
| `Cmd` `F` | Find |
|
|
|
|
|
| `Cmd` `G` | Find next |
|
|
|
|
|
| `Cmd` `Shift` `G` | Find previous |
|
|
|
|
|
| `Cmd` `/` | Toggle comment |
|
|
|
|
|
| `Cmd` `[` | Indent selection |
|
|
|
|
|
| `Cmd` `]` | Dedent selection |
|
|
|
|
|
| `Cmd` `Shift` `[` | Move to previous tab |
|
|
|
|
|
| `Cmd` `Shift` `]` | Move to next tab |
|
|
|
|
|
| `Cmd` `4` | Toggle preview, in editor only |
|
|
|
|
|
| `Cmd` `K` | Clear scrollback, in terminal and playgrounds only |
|
2022-12-13 09:53:16 +08:00
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
{.shortcuts}
|
2022-12-13 09:53:16 +08:00
|
|
|
|
|
|
|
|
### General Shortcuts II
|
|
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
| Shortcut | Action |
|
|
|
|
|
| --------------------------- | ------------------------------------------- |
|
|
|
|
|
| `Cmd` `R` | Reload, in preview only |
|
|
|
|
|
| `Cmd` `Left` | Back, in preview only |
|
|
|
|
|
| `Cmd` `Right` | Forward, in preview only |
|
|
|
|
|
| `Shift` `Left` | Select the previous character |
|
|
|
|
|
| `Shift` `Right` | Select the next character |
|
|
|
|
|
| `Cmd` `Left` | Move to the beginning of the current line |
|
|
|
|
|
| `Cmd` `Right` | Move to the end of the current line |
|
|
|
|
|
| `Cmd` `Shift` `Left` | Select to the beginning of the current line |
|
|
|
|
|
| `Cmd` `Shift` `Right` | Select to the end of the current line |
|
|
|
|
|
| `Opt` `Left` | Move to the beginning of the current word |
|
|
|
|
|
| `Opt` `Right` | Move to the end of the current word |
|
|
|
|
|
| `Opt` `Shift` `Left` | Select to the beginning of the current word |
|
|
|
|
|
| `Opt` `Shift` `Right` | Select to the end of the current word |
|
|
|
|
|
| `Cmd` `Del` | Delete to the beginning of the current line |
|
|
|
|
|
| `Cmd` `Opt` `Del` | Delete to the beginning of the current word |
|
|
|
|
|
| `Cmd` `Del (forward)` | Delete to the end of the current line |
|
|
|
|
|
| `Cmd` `Opt` `Del (forward)` | Delete to the end of the current word |
|
|
|
|
|
| `Ctrl` `A` | Move to the beginning of the current line |
|
|
|
|
|
| `Ctrl` `Shift` `A` | Select to the beginning of the current line |
|
|
|
|
|
| `Ctrl` `E` | Move to the end of the current line |
|
|
|
|
|
| `Ctrl` `Shift` `E` | Select to the end of the current line |
|
|
|
|
|
| `Ctrl` `K` | Delete to the end of the current line |
|
2022-11-23 16:37:30 +08:00
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
{.shortcuts}
|
2022-11-23 16:37:30 +08:00
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
## Also see
|
2022-11-23 16:37:30 +08:00
|
|
|
|
2024-05-22 03:37:57 -07:00
|
|
|
- [Keyboard shortcuts for the Code Editor iOS app](https://library.panic.com/code-editor/shortcut-keys/)
|
|
|
|
|
_(library.panic.com)_
|