# Basics

Move caret.

Select text.

alt

Inside the selection, drag the selection. Outside the selection, select the element clicked upon then drag it.

Extend node selection if any, text selection otherwise.

Select word.

Select all the characters of the text node.

Show the Edit popup menu.

If the object being dropped is an URL or an absolute filename, open the corresponding document. Otherwise, paste dropped text or XML at or after drop location.

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.

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.

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.

O

Open folder containing last opened 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.

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
ESCAPE

Cancel selection.

alt

LEFT

Go back in the navigation history.

alt

RIGHT

Go forward in the navigation history.

alt

INSERT

Add the current location of the caret to the navigation history.

# 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.

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 element or a text node.

H
B

Insert an element or a text node before selected nodes.

I

Insert an element or a text node at caret position.

J

Insert an element or a text node after selected nodes.

INSERT
F1

Insert a text node after selected nodes.

INSERT
F1

Insert a text node before selected nodes.

INSERT
F1

Insert same element after selected element.

INSERT
F1

Insert same element before selected element.

ESCAPE
INSERT
ESCAPE
F1

Switches from insert mode to overwrite mode and the other way around.

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
l

Converts selected text to lower case. If no text is selected, operates on word containing caret.

ESCAPE
u

Converts selected text to upper case.

ESCAPE
c

Changes the first letter of all words found in selected text to upper case.

ESCAPE
n

Inserts at caret position a character specified using its entity name (e.g. `mdash`).

## Modular documents

C

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

I

Using the Include tool, insert an element reference at caret position.

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.

ESCAPE
f

Find element.

ESCAPE
g

Find element again, that is, repeat last search.

# View

L

Rebuild document view (deep redraw).

L

Center selection on screen.

Changes the size of the text in the document view.

# Tools

E

Edit the attributes of selected element.

V

Check document validity.

S

Check spelling.

H

Open element or attribute content in helper application.

D

Edit document in helper application.

ESCAPE
m

Start/stop recording of macro.

ESCAPE
q

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 an XHTML document is opened

ENTER

Insert a `br` element at caret position.

F5

Preview the document being edited in the Web browser.

# If an XHTML document or a DocBook document or a DITA topic is opened

alt

Inside an external link, drag its target URL. Inside an image, drag its source URL.

Onto an image, change its source. Onto an external link, change its target.

ENTER

Insert a newline character if possible. Otherwise, if caret is at the beginning of a paragraph, list item or a few other kinds of block, insert same block before. Otherwise, if caret is at the end of a block, insert same block after. Otherwise, split block.

DELETE

Delete selection if any. Otherwise, if caret is at the end of a paragraph, list item or a few other kinds of block, join with following block. Otherwise, delete character following caret.

BACK_SPACE

Delete selection if any. Otherwise, if caret is at the beginning of a paragraph, list item or a few other kinds of block, join with preceding block. Otherwise, delete character preceding caret.

ENTER

Add same block after the paragraph, list item or a few other kinds of block which is the ancestor of selected node.

ENTER

Add same block before the paragraph, list item or a few other kinds of block which is the ancestor of selected node.

F2
UP

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

F2
DOWN

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

# If a DocBook document or a DITA map is opened

F2
LEFT

Promote explicitly selected element (typically a section).

F2
RIGHT

Demote explicitly selected element (typically a section).