# Basics

Move caret.

Select text.

Extend text selection.

Select word.

Select all the characters of the text node.

Show the Edit popup menu.

The object being dropped must be a file or the string representation of an URL. Opens the corresponding document.

RIGHT

Move caret to following character.

LEFT

Move caret to preceding character.

DOWN

Move caret to following line.

UP

Move caret to preceding line.

END

Move caret to end of line.

HOME

Move caret to beginning of line.

RIGHT

Move caret to following word.

LEFT

Move caret to preceding word.

TAB

Move caret to following text node.

TAB

Move caret to preceding text node.

ESCAPE
END

Move caret to end of text node.

ESCAPE
HOME

Move caret to beginning of text node.

RIGHT

Extend text selection to following character.

LEFT

Extend text selection to preceding character.

DOWN

Extend text selection to following line.

UP

Extend text selection to preceding line.

END

Extend text selection to end of line.

HOME

Extend text selection to beginning of line.

RIGHT

Extend text selection to following word.

LEFT

Extend text selection to preceding word.

ESCAPE
END

Extend text selection to end of text node.

ESCAPE
HOME

Extend text selection to beginning of text node.

TAB

Insert a tab character if the element preserves space characters. Otherwise, no effect.

ENTER

Insert a newline character if the element preserves space characters. Otherwise, no effect.

SPACE

Insert non-breaking space.

DELETE

Delete selection if any, character following caret otherwise.

BACK_SPACE

Delete selection if any, character preceding caret otherwise.

DELETE

Delete selection if any, word following caret otherwise.

BACK_SPACE

Delete selection if any, word preceding caret otherwise.

# File

N

New document.

O

Open document.

S

Save document.

P

Print document.

Q

Quit XMLmind XML Editor.

# Select

The element containing the caret is said to be implicitly selected. Most commands work whether an element has been implicitly or explicitly selected.

Select the node clicked upon. Repeating this action without moving the mouse selects its parent, then its grand-parent, etc.

Extend node selection to the node clicked upon.

UP

Select parent.

DOWN

Select child.

UP

Select preceding sibling.

DOWN

Select following sibling.

ESCAPE
LEFT

Extend selection to preceding sibling.

ESCAPE
RIGHT

Extend selection to following sibling.

ESCAPE
DOWN

Select all children.

ESCAPE
g

Find element.

ESCAPE
ESCAPE

Cancel selection.

# Edit

Move caret to the location clicked upon, then paste last selected characters before caret position. Corresponding option must have been turned on.

Z

Undo last change.

Y

Undo last undo (redo).

A

Repeat last repeatable command.

A

Show command history. Allows to select and repeat a command.

X

Cut selected text or nodes.

C

Copy selected text or nodes.

C

Copy a reference to selected elements. Used to build modular documents.

U

Paste before selected nodes.

V

Paste replacing selected nodes if any. Otherwise paste at caret position.

W

Paste after selected nodes.

K

Delete selected text or nodes.

R

Replace selected nodes by an empty element or text node.

H
B

Insert empty element or text node before selected nodes.

I

Insert empty element or text node at caret position.

J

Insert empty element or text node after selected nodes.

INSERT
F1

Insert an empty text node after selected nodes.

INSERT
F1

Insert an empty text node before selected nodes.

INSERT
F1

Insert same element after selected element.

INSERT
F1

Insert same element before selected element.

T

Convert selected text or nodes to another element or to plain text.

T

Wrap selected text or nodes into a new parent element.

ESCAPE
ENTER

Split explicitly selected element in two at caret position.

ESCAPE
BACK_SPACE

Join explicitly selected element with preceding same element.

ESCAPE
DELETE

Join explicitly selected element with following same element.

## Modular documents

C

Copy a reference to selected elements. (After that, you can paste this reference elsewhere to build a modular document.)

R

Insert an element reference at caret position. Makes it quick and easy inserting``XML variables'' (that is, references to often used XHTML `span`s, DocBook `phrase`s, etc) in a document.

B

Switch to window containing referencing document (the modular document), if any.

E

Switch to window containing referenced document (the module). Open this document if needed to.

# Search

F

Search text.

F

Search text backwards.

M

Search/replace text.

M

Search/replace text backwards.

G

Repeat previous search.

G

Repeat previous search backwards.

# View

L

Rebuild document view (deep redraw).

L

Center selection on screen.

# Tools

E

Edit the attributes of selected element.

V

Check document validity.

S

Check spelling.

I

Insert/edit spreadsheet formula.

ESCAPE
m

Start/stop recording of macro.

ESCAPE
M

Cancel recording of macro.

ESCAPE
p

Execute (replay) recorded macro.

ESCAPE
s

Search text. Shows special dialog box allowing to extend the text selection. Especially useful when recording a macro.

ESCAPE
x

Execute command. Requires specifying its name and parameter.

# Window

W

Close current window.

P

Switch to preceding window.

N

Switch to following window.

# Help

F1

Show help browser.

F1

Show content model of selected element.

# If a DocBook or XHTML document is opened

On an image, changes its source. On an external link, changes its target.

ENTER

Insert a newline character if possible. Otherwise, split paragraph.

DELETE

Delete selection if any. Otherwise, if caret is at the end of a paragraph, join with following paragraph. Otherwise, delete character following caret.

BACK_SPACE

Delete selection if any. Otherwise, if caret is at the beginning of a paragraph, join with preceding paragraph. Otherwise, delete character preceding caret.

ENTER

Add paragraph or list item after the paragraph or list item which is the ancestor of selected node.

ENTER

Add paragraph or list item before the paragraph or list item which is the ancestor of selected node.

ESCAPE
w

Converts text copied to the clipboard using an external application (Web browser, word processor, etc) to one or more paragraphs, then paste these paragraphs after implicitly or explicitly selected element.

# If a DocBook document is opened

F2
UP

Swap explicitly selected node with its preceding sibling (move up).

F2
DOWN

Swap explicitly selected node with its following sibling (move down).

F2
LEFT

Promote explicitly selected element (typically a section).

F2
RIGHT

Demote explicitly selected element (typically a section).

# If an XHTML document is opened

ENTER

Insert a `br` element at caret position.

F5

Preview the document being edited in the Web browser.