import { ShortcutActionPairType } from '../ui/KeyboardShortcutsTab';

const shortcuts: ShortcutActionPairType[] = [
  { shortcuts: [ 'Meta + B' ], action: 'Bold' },
  { shortcuts: [ 'Meta + I' ], action: 'Italic' },
  { shortcuts: [ 'Meta + U' ], action: 'Underline' },
  { shortcuts: [ 'Meta + A' ], action: 'Select all' },
  { shortcuts: [ 'Meta + Y', 'Meta + Shift + Z' ], action: 'Redo' },
  { shortcuts: [ 'Meta + Z' ], action: 'Undo' },
  { shortcuts: [ 'Access + 1' ], action: 'Heading 1' },
  { shortcuts: [ 'Access + 2' ], action: 'Heading 2' },
  { shortcuts: [ 'Access + 3' ], action: 'Heading 3' },
  { shortcuts: [ 'Access + 4' ], action: 'Heading 4' },
  { shortcuts: [ 'Access + 5' ], action: 'Heading 5' },
  { shortcuts: [ 'Access + 6' ], action: 'Heading 6' },
  { shortcuts: [ 'Access + 7' ], action: 'Paragraph' },
  { shortcuts: [ 'Access + 8' ], action: 'Div' },
  { shortcuts: [ 'Access + 9' ], action: 'Address' },
  { shortcuts: [ 'Alt + 0' ], action: 'Open help dialog' },
  { shortcuts: [ 'Alt + F9' ], action: 'Focus to menubar' },
  { shortcuts: [ 'Alt + F10' ], action: 'Focus to toolbar' },
  { shortcuts: [ 'Alt + F11' ], action: 'Focus to element path' },
  { shortcuts: [ 'Alt + F12' ], action: 'Focus to notification' },
  { shortcuts: [ 'Ctrl + F9' ], action: 'Focus to contextual toolbar' },
  { shortcuts: [ 'Shift + Enter' ], action: 'Open popup menu for split buttons' },
  { shortcuts: [ 'Meta + K' ], action: 'Insert link (if link plugin activated)' },
  { shortcuts: [ 'Meta + S' ], action: 'Save (if save plugin activated)' },
  { shortcuts: [ 'Meta + F' ], action: 'Find (if searchreplace plugin activated)' },
  { shortcuts: [ 'Meta + Shift + F' ], action: 'Switch to or from fullscreen mode' }
];

export {
  shortcuts
};
