Shortcut keys

Various operations in FontoXML can be activated using only the keyboard. This page lists the pre-configured shortcut keys for common actions provided by the FontoXML platform and add-ons.

Shortcut

Mac OSX shortcut

Description

Operation

Remarks

Ctrl+C

Cmd+C

Copy the selected content to the clipboard

copy

Ctrl+X

Cmd+X

Cut the selected content to the clipboard, removing it from the document

cut

Ctrl+V

Cmd+V

Insert content from the clipboard at the current cursor position

(not applicable)

Due to browser security restrictions, this may not be invoked as an operation. The paste operation provided by the fontoxml-clipboard-instruction-modal add-on can be used in the toolbar to explain this situation to the author.

Ctrl+Z

Cmd+Z

Undo the last operation in the current document

undo

Ctrl+Y

Cmd+Y

Redo the operation that was previously undone

redo

Ctrl+F / F3 / Shift+F3

Cmd+F / F3 / Shift+F3

Open the Find and Replace modal

Provided by the fontoxml-find-and-replace add-on.

Ctrl+Shift+F / Ctrl+H

Cmd+Shift+F / Cmd+H

Open the Find and Replace modal and highlight the replace field

Provided by the fontoxml-find-and-replace add-on.

Left

Move the cursor one position to the left, across characters and / or element boundaries.

move-caret-left

Right

Move the cursor one position to the right, across characters and / or element boundaries.

move-caret-right

Shift+Left

Move the cursor one position to the left, extending or shrinking the selection depending on its current direction.

extend-selection-left

Shift+Right

Move the cursor one position to the right, extending or shrinking the selection depending on its current direction.

extend-selection-right

Ctrl+Left

Alt+Left

Move the cursor to the previous word.

move-caret-to-previous-word-boundary

Ctrl+Right

Alt+Right

Move the cursor to the next word.

move-caret-to-next-word-boundary

Ctrl+Shift+Left

Alt+Shift+Left

Move the cursor to the previous word, extending or shrinking the selection depending on its current direction.

extend-selection-to-previous-word-boundary

Ctrl+Shift+Right

Alt+Shift+Right

Move the cursor to the next word, extending or shrinking the selection depending on its current direction.

extend-selection-to-next-word-boundary

Ctrl+Up

Alt+Up

Move the cursor to the previous block.

move-caret-to-previous-block-boundary

Ctrl+Down

Alt+Down

Move the cursor to the next block.

move-caret-to-next-block-boundary

Ctrl+Shift+Up

Alt+Shift+Up

Move the cursor to the previous block, extending or shrinking the selection depending on its current direction.

extend-selection-to-previous-block-boundary

Ctrl+Shift+Down

Alt+Shift+Down

Move the cursor to the next block, extending or shrinking the selection depending on its current direction.

extend-selection-to-next-block-boundary

Enter

Split the current paragraph or other block. Repeated presses can often be used to split or exit blocks higher up in the hierarchy of elements.

hard-return

Shift+Enter

Split the current line, by either inserting a break element or token or by splitting the element configured as line. If no such option is available, split the block instead.

soft-return

See configureAsLine, configureAsGroupWithLine.

Backspace / Shift+Backspace

Remove content before the cursor position, or merge elements when the cursor is at their boundaries.

backspace

Delete

Remove content after the cursor position, or merge elements when the cursor is at their boundaries.

delete

Ctrl+Backspace

Alt+Backspace

Remove the previous word.

backspace-word

Ctrl+Delete

Alt+Delete

Remove the next word.

delete-word

Alt+Shift+Up

Ctrl+Shift+Up

Move the element containing the cursor up in its sequence. Applies to the DITA dlentry, li, row, sli and strow elements and their specializations.

move-sequence-item-up

Provided by the fontoxml-dita add-on.

Alt+Shift+Down

Ctrl+Shift+Down

Move the element containing the cursor down in its sequence. Applies to the DITA dlentry, li, row, sli and strow elements and their specializations.

move-sequence-item-down

Provided by the fontoxml-dita add-on.

Ctrl+S

Cmd+S

Save all documents that were modified since the last save.

start-saving-all-documents

F10

Cmd+F2

Move keyboard focus to the masthead. After this, use the tab key to navigate to different tabs and toolbar buttons, and enter to activate them.

focus-editor-masthead

Tab

Handles the tab keybinding using operation alternatives which are indent-list-item, insert-row-on-tab and navigate-to-next-item-in-tab-context registered to the 'tab' group.

tab

You can add other operations to this shortcut key using OperationsManager.addAlternativeOperation with the 'tab' key.

Shift+Tab

Handles the shift-tab keybinding using operation alternatives which are outdent-list-item and navigate-to-previous-item-in-tab-context registered to the 'shift-tab' group.

shift-tab

You can add other operations to this shortcut key using OperationsManager.addAlternativeOperation with the 'shift-tab' key.

Ctrl+G

Cmd+G

Open the quick navigation modal.

open-quick-navigation

Any Operation can use the keyBinding and osxKeyBinding properties to configure a keyboard shortcut ("hotkey") to listen for. If any of the shortcuts in this table is assigned to an operation at the application level, that operation will be invoked instead of the platform-provided one.