moveCursorBottomCommand top-level property

CommandShortcutEvent moveCursorBottomCommand
getter/setter pair

arrow down + ctrl or cmd move the cursor to the bottommost position of the document

Implementation

CommandShortcutEvent moveCursorBottomCommand = CommandShortcutEvent(
  key: 'move cursor to end of file',
  getDescription: () => AppFlowyEditorL10n.current.cmdMoveCursorBottom,
  command: 'ctrl+arrow down',
  macOSCommand: 'cmd+arrow down',
  handler: _moveCursorBottomCommandHandler,
);