vintage_systems:amis_editor
Differences
This shows you the differences between two versions of the page.
vintage_systems:amis_editor [2025/05/13 23:22] – created smj | vintage_systems:amis_editor [2025/05/14 00:47] (current) – smj | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
< | < | ||
You are looking at the AMIS tutorial. | You are looking at the AMIS tutorial. | ||
Line 612: | Line 611: | ||
the work of Richard M. Stallman of the M.I.T. Artificial Intelligence | the work of Richard M. Stallman of the M.I.T. Artificial Intelligence | ||
laboratory, who conceived and implemented EMACS. | laboratory, who conceived and implemented EMACS. | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | **** AMIS QUICK REFERENCE CARD **** | ||
+ | |||
+ | SOME NECESSARY INFORMATION: | ||
+ | Any ordinary character goes into the buffer (no insert command needed). | ||
+ | In commands, use carriage return, shown as <CR>, after a string unless | ||
+ | the chart shows $, meaning, use ESCAPE. | ||
+ | |||
+ | C- A control character. | ||
+ | " | ||
+ | M- A two-character command sequence where the first character | ||
+ | is ESCAPE. | ||
+ | M-X string | ||
+ | ESCAPE, then " | ||
+ | Dot AMIS term for cursor position in current buffer. | ||
+ | |||
+ | GETTING OUT. | ||
+ | C-X C-S Write current buffer into a new version of current file. | ||
+ | C-X C-W Write current buffer into a file with a different name | ||
+ | C-X C-Z Quit by exiting to the monitor. | ||
+ | M-X Push Push to a subprocess. (Depends on the operating system.) | ||
+ | |||
+ | BUFFER OPERATIONS. | ||
+ | C-X C-F Get a file into a buffer for editing. | ||
+ | C-X B | ||
+ | C-X C-B | ||
+ | C-X K Kill a buffer (prompts; default = current one). | ||
+ | M-< | ||
+ | M-> | ||
+ | |||
+ | HELP AND HELPER FUNCTIONS. | ||
+ | C-G Abort while AMIS expects input. (beeps; you may need 2). | ||
+ | M-? X What does this key do? (try M-? C-K as an example). | ||
+ | C-_ A string | ||
+ | C-_ D string | ||
+ | M-X Undo Cancel a gross change already in effect. | ||
+ | C-Y Yank back the last thing killed (not the same as deleted). | ||
+ | M-n | ||
+ | C-Q | ||
+ | |||
+ | CHARACTER OPERATIONS. | ||
+ | C-B Move left (Back). | ||
+ | C-F Move right (Forward). | ||
+ | C-P Move up (Previous). | ||
+ | C-N Move down (Next). | ||
+ | RUBOUT | ||
+ | C-D | ||
+ | C-T | ||
+ | |||
+ | WORD OPERATIONS. | ||
+ | M-B Move left (Back). | ||
+ | M-F Move right (Forward). | ||
+ | M-RUBOUT | ||
+ | M-D Kill right (C-Y yanks it back at dot). | ||
+ | M-T | ||
+ | M-C | ||
+ | M-U | ||
+ | M-L | ||
+ | |||
+ | |||
+ | LINE OPERATIONS. | ||
+ | C-A Move to the beginning. | ||
+ | C-E Move to the end. | ||
+ | C-O Open up a line for typing. | ||
+ | C-X C-O Close up all blank lines but one around dot. | ||
+ | M-0 C-K Kill from beginning to dot (C-Y yanks it back at dot). | ||
+ | C-K Kill from dot to end (C-Y yanks it back at dot). | ||
+ | |||
+ | SENTENCE OPERATIONS. | ||
+ | M-A Move to the beginning. | ||
+ | M-E Move to the end. | ||
+ | C-X RUBOUT | ||
+ | M-K Kill from dot to end (C-Y yanks it back at dot). | ||
+ | |||
+ | PARAGRAPH OPERATIONS. | ||
+ | M-[ Move to beginning. | ||
+ | M-] Move to end. | ||
+ | M-Q Fill the current paragraph. | ||
+ | M-n C-X F Set the fill column to n (e.g. M-60 C-X F). | ||
+ | |||
+ | SCREEN OPERATIONS. | ||
+ | C-V Show next screen page. | ||
+ | M-V Show previous screen page. | ||
+ | C-L | ||
+ | M-0 C-L Move the line where dot is to line 0 (top) of the screen. | ||
+ | |||
+ | PAGE OPERATIONS. | ||
+ | C-X [ Move to beginning (last ^L). | ||
+ | C-X ] Move to end (next ^L). | ||
+ | |||
+ | SEARCH AND REPLACE. | ||
+ | C-S " | ||
+ | (C-S str$). | ||
+ | C-R " | ||
+ | M-X Replace String | ||
+ | Replace one string with another (M-X Repl$one string$another). | ||
+ | M-X Query Replace | ||
+ | Replace one string with another, wants SPACE meaning | ||
+ | "do it" or RUBOUT to skip (M-X Qu$one string$another). | ||
+ | |||
+ | REGION OPERATIONS. | ||
+ | Note: Region is the area of buffer between dot and mark (or mark and | ||
+ | dot). Some commands set the mark, so check it before using. | ||
+ | |||
+ | C-@ Set the mark (for use with REGION commands). | ||
+ | C-X C-X | ||
+ | C-W Kill region (C-Y yanks it back at dot). | ||
+ | |||
+ | WINDOW OPERATIONS. | ||
+ | C-X 2 Split screen in two windows (same buffer shown in both.) | ||
+ | C-X 1 | ||
+ | C-X O Move cursor to other window (usual commands still apply). | ||
+ | C-Z V | ||
</ | </ |
vintage_systems/amis_editor.txt · Last modified: 2025/05/14 00:47 by smj