Which keyboard shortcuts can I use with an external hardware keyboard?

Here you can find a list of keyboard shortcuts you can use when you connect an external keyboard to your iPad.

Keyboard Shortcuts

Keyboard shortcuts supported by iOS / iPad:

  • Cmd+A - Select All
  • Cmd+C - Copy
  • Cmd+X - Cut
  • Cmd+V - Paste
  • Cmd+Z - Undo
  • Cmd+Shift+Z - Redo
  • Shift+Arrow - Select text
  • Cmd+Up/Down - Move cursor to the beginning/end of the file
  • Cmd+Left/Right - Move cursor to beginning/end of the current line
  • Alt+Left/Right - Move cursor to the previous/next word
  • Esc - Bring up virtual on-screen keyboard
  • Alt-Delete - Delete the word to the left of the cursor
  • Cmd-Delete - Delete everything on the current line to the left of the cursor

iOS also supports these Emacs keybindings:

  • Ctrl-A - Move cursor to the beginning of the line
  • Ctrl-E - Move cursor to the end of the line
  • Ctrl-F - Move cursor forward one character
  • Ctrl-B - Move cursor backward one character
  • Ctrl-K - Kill/delete text between cursor and the end of the line
  • Ctrl-H - Delete one character to the left

In addition, Textastic supports these shortcuts:

  • Tab - Indent selected text
  • Shift-Tab - Unindent selected text
  • Cmd-N - create new file/folder
  • Cmd-F - toggle find/replace
  • Cmd-W - close current file
  • Alt-Cmd-P - toggle preview
  • Alt-Cmd-I - toggle file properties popover
  • Alt-Cmd-T - toggle symbol list popover
  • Alt-Cmd-Up - upload current file
  • Alt-Cmd-Down - download current file
  • Cmd-I - toggle italics (works in Markdown and HTML files)
  • Cmd-B - toggle boldface (works in Markdown and HTML files)
  • Cmd-U - toggle underline (works in HTML files)
Previous Lesson: How does the additional row of keys above the standard keyboard work? Table of Contents Next Lesson: Which file types are supported?