cheatsheet do
  title 'Textastic'
  docset_file_name 'Textastic'
  keyword 'textastic'
  source_url 'http://cheat.kapeli.com'
  introduction 'Keyboard shortcuts for **Textastic**, a robust iOS text editor.'

  category do
    id 'General'
    entry do
      command 'CMD+OPTION+B'
      name 'Toggle sidebar'
    end
    entry do
      command 'CMD+OPTION+P'
      name 'Toggle preview'
    end
    entry do
      command 'CMD+CTRL+OPTION+P'
      name 'Preview in Safari'
    end
    entry do
      command 'CMD+OPTION+T'
      name 'Toggle symbol list'
    end
  end

  category do
    id 'Files'
    entry do
      command 'CMD+N'
      name 'New file/folder'
    end
    entry do
      command 'CMD+E'
      name 'Edit file'
    end
    entry do
      command 'CMD+F'
      name 'Toggle find/replace'
    end
    entry do
      command 'CMD+OPTION+Arrow Up'
      name 'Upload file'
    end
    entry do
      command 'CMD+OPTION+Arrow Down'
      name 'Download file'
    end
    entry do
      command 'CMD+OPTION+I'
      name 'Toggle file properties'
    end
  end

  category do
    id 'Code Editor'
    entry do
      command 'CMD+['
      name 'Shift left'
    end
    entry do
      command 'CMD+]'
      name 'Shift right'
    end
    entry do
      command 'CMD+CTRL+E'
      name 'Expand Emmet abbreviation'
    end
    entry do
      command 'CMD+CTRL+A'
      name 'Wrap with Emmet abbreviation'
    end
  end

  category do
    id 'Tabs'
    entry do
      command 'CTRL+Tab'
      name 'Select next tab'
    end
    entry do
      command 'CTRL+SHIFT+Tab'
      name 'Select previous tab'
    end
    entry do
      command 'CMD+1'
      name 'Show first tab'
    end
    entry do
      command 'CMD+2'
      name 'Show second tab'
    end
    entry do
      command 'CMD+3'
      name 'Show third tab'
    end
    entry do
      command 'CMD+4'
      name 'Show fourth tab'
    end
    entry do
      command 'CMD+5'
      name 'Show fifth tab'
    end
    entry do
      command 'CMD+6'
      name 'Show sixth tab'
    end
    entry do
      command 'CMD+7'
      name 'Show seventh tab'
    end
    entry do
      command 'CMD+8'
      name 'Show eighth tab'
    end
    entry do
      command 'CMD+9'
      name 'Show ninth tab'
    end
    entry do
      command 'CMD+0'
      name 'Show tenth tab'
    end
  end

  notes 'For more on how to use Textastic go to the [Textastic for iOS Manual](https://www.textasticapp.com/v8/manual/).'
end
