Wamer Stencil Text Editor Help

Ctrl-A (PC), Cmd-A (Mac)

Select the whole content of the editor.

Ctrl-D (PC), Cmd-D (Mac)

Deletes the whole line under the cursor.

Cmd-Backspace (Mac)

Delete the part of the line before the cursor.

Ctrl-K (Mac)

Emacs-style line killing. Deletes the part of the line after the cursor. If that consists only of whitespace, the newline at the end of the line is also deleted.

Ctrl-Z (PC), Cmd-Z (Mac)

Undo the last change.

Shift-Ctrl-Z (PC), Ctrl-Y (PC), Shift-Cmd-Z (Mac), Cmd-Y (Mac)

Redo the last undone change.

Ctrl-Home (PC), Cmd-Up (Mac)

Move the cursor to the start of the document.

Ctrl-End (PC), Ctrl-Down (PC), Cmd-End (Mac), Cmd-Down (Mac)

Move the cursor to the end of the document.

Alt-Left (PC), Cmd-Left (Mac), Ctrl-A (Mac)

Move the cursor to the start of the line.

Home

Move to the start of the text on the line, or if we are already there, to the actual start of the line (including whitespace).

End, Alt-Right (PC), Cmd-Right (Mac), Ctrl-E (Mac)

Move the cursor to the end of the line.

Up, Ctrl-P (Mac)

Move the cursor up one line.

Down, Ctrl-N (Mac)

Move down one line.

PageUp, Shift-Ctrl-V (Mac)

Move the cursor up one screen, and scroll up by the same distance.

PageDown, Ctrl-V (Mac)

Move the cursor down one screen, and scroll down by the same distance.

Left, Ctrl-B (Mac)

Move the cursor one character left, going to the previous line when hitting the start of line.

Right, Ctrl-F (Mac)

Move the cursor one character right, going to the next line when hitting the end of line.

Alt-B (Mac)

Move the cursor to the start of the previous word.

Alt-F (Mac)

Move the cursor to the end of the next word.

Ctrl-Left (PC), Alt-Left (Mac)

Move to the left of the group before the cursor. A group is a stretch of word characters, a stretch of punctuation characters, a newline, or a stretch of more than one whitespace character.

Ctrl-Right (PC), Alt-Right (Mac)

Move to the right of the group after the cursor (see above).

Backspace, Shift-Backspace, Ctrl-H (Mac)

Delete the character before the cursor.

Delete, Ctrl-D (Mac)

Delete the character after the cursor.

Alt-Backspace (Mac)

Delete up to the start of the word before the cursor.

Alt-D (Mac)

Delete up to the end of the word after the cursor.

Ctrl-Backspace (PC), Alt-Backspace (Mac)

Delete to the left of the group before the cursor.

Ctrl-Delete (PC), Ctrl-Alt-Backspace (Mac), Alt-Delete (Mac)

Delete to the start of the group after the cursor.

Shift-Tab

Auto-indent the current line or selection.

Ctrl-] (PC), Cmd-] (Mac)

Indent the current line or selection by one indent unit.

Ctrl-[ (PC), Cmd-[ (Mac)

Dedent the current line or selection by one indent unit.

Tab

If something is selected, indent it by one indent unit. If nothing is selected, insert a tab character.

Ctrl-T (Mac)

Swap the characters before and after the cursor.

Enter

Insert a newline and auto-indent the new line.

Insert

Flip the overwrite flag.

Ctrl-S (PC), Cmd-S (Mac)

Save the view changes.

Ctrl-Space (PC), Cmd-Space (Mac)

Autocomplete the word.