Skip to content

Instantly share code, notes, and snippets.

@ScottKirvan
Last active November 4, 2023 21:11
Show Gist options
  • Save ScottKirvan/23466c6660eb5d022fa1eaf91cd79cbb to your computer and use it in GitHub Desktop.
Save ScottKirvan/23466c6660eb5d022fa1eaf91cd79cbb to your computer and use it in GitHub Desktop.
Invoking [ESC] key on iPad or iPhone with attached keyboard

On iPad/iOS, the esc key is trapped as a home key -- this can be disabling if you need the esc key for shells, editors, etc.
Good news is, that there's an alternative and I found it pretty quick an easy to adapt to it:

To invoke Escape, press Command + period (.) on the keyboard.

In VSCode on the iPad, as a vi user, this wouldn't work. A vim alternative to escape is Ctrl + [

#vi #vim #iOS #iPadOS #iPad #iPhone #tech #coders #esc #escape #vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment