TinyEdit keys
TinyEdit has two sets of keys. Options, Keys chooses one; the edit command's /MODERN and /WORDSTAR switches choose for one run. Keys in brackets do the same as the key before them.
Modern keys (the default)
Moving the cursor
| Key | What it does |
|---|---|
| Left, Right | A character left or right (Ctrl+D is right) |
| Up, Down | A line up or down (Ctrl+E is up) |
| Ctrl+Left, Ctrl+Right | A word left or right |
| Home | The first character of the line that isn't a space |
| End | The end of the line |
| Ctrl+Enter | The start of the next line (Ctrl+J) |
| Ctrl+Home, Ctrl+End | The start or the end of the file |
| Ctrl+G | Go to a line by its number |
Scrolling
| Key | What it does |
|---|---|
| Ctrl+Up, Ctrl+Down | The text a line up or down (Ctrl+W) |
| PgUp, PgDn | A window up or down |
| Ctrl+PgUp, Ctrl+PgDn | A window left or right |
Selecting
| Key | What it does |
|---|---|
| Shift+a cursor key | Select as the cursor moves; across lines, whole lines |
| Shift+Ctrl+Left, Right | Select a word at a time |
| Shift+Ctrl+Home, End | Select to the start or the end of the file |
| Ctrl+A | Select the whole file |
Clipboard
| Key | What it does |
|---|---|
| Ctrl+X | Cut the selection to the Clipboard (Shift+Del) |
| Ctrl+C | Copy the selection to the Clipboard (Ctrl+Ins) |
| Ctrl+V | Paste the Clipboard at the cursor (Shift+Ins) |
| Ctrl+K,Y | Cut the line |
Undo
| Key | What it does |
|---|---|
| Ctrl+Z | Take back the last change (Alt+Backspace) |
| Ctrl+Y | Put back what Undo took (Ctrl+Shift+Z, Shift+Alt+Backspace) |
Typing
| Key | What it does |
|---|---|
| Ins | Insert or overstrike |
| Enter | A new line, indented as the one above |
| Tab, Shift+Tab | To the next tab stop; with lines selected, indent or unindent them |
Deleting
| Key | What it does |
|---|---|
| Backspace | The character left of the cursor |
| Del | The character at the cursor, or the selection |
| Ctrl+T | The rest of the word |
Searching
| Key | What it does |
|---|---|
| Ctrl+F | Find |
| F3, Ctrl+L | Find Next |
| Shift+F3 | Find Previous |
| Ctrl+H, Ctrl+R | Replace (a terminal sends Ctrl+H as Backspace: use Ctrl+R) |
Bookmarks
| Key | What it does |
|---|---|
| Ctrl+K,0-3 | Set bookmark 0, 1, 2 or 3 |
| Alt+0-3 | Go to a bookmark |
Files
| Key | What it does |
|---|---|
| Ctrl+N | New |
| Ctrl+O | Open |
| Ctrl+S, Ctrl+K,D | Save (the serial console of Plan 9 sends no Ctrl+S: use Ctrl+K,D) |
| Ctrl+Shift+S, Ctrl+K,S | Save As (a terminal can't send Ctrl+Shift+S: use Ctrl+K,S) |
| Ctrl+P | |
| Alt+X, Ctrl+Q, Ctrl+K,Q | Exit (the serial console of Plan 9 sends no Ctrl+Q: use Ctrl+K,Q) |
Menus and help
| Key | What it does |
|---|---|
| Alt | The menu bar (Alt+letter: that menu) |
| Esc, F10 | The menu bar, where there is no Alt key |
| F1 | Help |
WordStar keys, as the MS-DOS Editor had them
Moving the cursor
| Key | What it does |
|---|---|
| Left, Right | A character left or right (Ctrl+S, Ctrl+D) |
| Up, Down | A line up or down (Ctrl+E, Ctrl+X) |
| Ctrl+Left, Ctrl+Right | A word left or right (Ctrl+A, Ctrl+F) |
| Home | The first character of the line that isn't a space |
| Ctrl+Q,S | The start of the line |
| End | The end of the line (Ctrl+Q,D) |
| Ctrl+Enter | The start of the next line (Ctrl+J) |
| Ctrl+Q,E, Ctrl+Q,X | The top or the bottom of the window |
| Ctrl+Home, Ctrl+End | The start or the end of the file |
Scrolling
| Key | What it does |
|---|---|
| Ctrl+Up, Ctrl+Down | The text a line up or down (Ctrl+W, Ctrl+Z) |
| PgUp, PgDn | A window up or down (Ctrl+R, Ctrl+C) |
| Ctrl+PgUp, Ctrl+PgDn | A window left or right |
Selecting
| Key | What it does |
|---|---|
| Shift+a cursor key | Select as the cursor moves; across lines, whole lines |
| Shift+Ctrl+Left, Right | Select a word at a time |
| Shift+Ctrl+Home, End | Select to the start or the end of the file |
Clipboard
| Key | What it does |
|---|---|
| Shift+Del | Cut the selection to the Clipboard |
| Ctrl+Ins | Copy the selection to the Clipboard |
| Shift+Ins | Paste the Clipboard at the cursor |
| Ctrl+Y | Cut the line |
| Ctrl+Q,Y | Cut to the end of the line |
Undo
| Key | What it does |
|---|---|
| Alt+Backspace | Take back the last change |
| Shift+Alt+Backspace | Put back what Undo took |
Typing
| Key | What it does |
|---|---|
| Ins | Insert or overstrike (Ctrl+V) |
| Enter | A new line, indented as the one above |
| Home, Ctrl+N | A new line above (Ctrl+N breaks the line, the cursor stays) |
| Tab, Shift+Tab | To the next tab stop; with lines selected, indent or unindent them |
| Ctrl+P, Ctrl+key | Type a control character |
Deleting
| Key | What it does |
|---|---|
| Backspace | The character left of the cursor (Ctrl+H) |
| Del | The character at the cursor, or the selection (Ctrl+G) |
| Ctrl+T | The rest of the word |
Searching
| Key | What it does |
|---|---|
| Ctrl+Q,F | Find |
| Ctrl+Q,A | Replace |
| F3 | Find Next (Ctrl+L) |
| Shift+F3 | Find Previous |
Bookmarks
| Key | What it does |
|---|---|
| Ctrl+K,0-3 | Set bookmark 0, 1, 2 or 3 |
| Ctrl+Q,0-3 | Go to a bookmark |
Menus and help
| Key | What it does |
|---|---|
| Alt | The menu bar (Alt+letter: that menu) |
| Esc, F10 | The menu bar, where there is no Alt key |
| F1 | Help |