TIP: Setup Tab / Shift-Tab Indentation Shortcuts

Drafts ships with example actions to indent and outdent text, either on the current line or selected lines. By default, these actions are installed in the “Editing” action group (often used in the Action Bar), and are assigned to the external keyboard shortcuts ⌘-] and ⌘-[, which are commonly used shortcuts for these functions in text editors.

Many are accustomed to using Tab and Shift-Tab as the indentation keyboard shortcuts, which are the more common shortcuts in more word-processor style editors.

As of the release of Drafts 25, it is now possible to setup keyboard shortcuts assignments for actions using Tab and Shift-Tab, so this change is easily made.

Setting Up Tab / Shift Tab Indentation

  1. Be sure you have the Indent and Outdent actions. By default, they ship with Drafts in the “Editing” action group. If you have deleted these, or want to make sure you have the most current versions, visit the links about to install these actions.
  2. Locate the actions in your action list.
  3. Edit the action:
    • On iOS: Swipe to right on action in list, and select “Edit”.
    • On Mac: Secondary-Click on the action in the list, and select “Edit” from contextual menu.
  4. Locate the external keyboard shortcut settings, and change them to Tab or Shift-Tab for the appropriate actions.
    • Note: Tab is a “special key”, so to select it, use the “…” menu in the keyboard shortcut settings.

Video Walkthrough

Sometimes it’s easier to see these steps in action, so here’s a quick video demo of making the described change on iPad. If you make these changes on either iPad or Mac, the changes will sync, so you need not do it in both places.

3 Likes