User Tools

Site Tools


vintage_systems:amis_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vintage_systems:amis_editor [2025/05/13 23:22] – created smjvintage_systems:amis_editor [2025/05/14 00:47] (current) smj
Line 1: Line 1:
- 
 <code> <code>
 You are looking at the AMIS tutorial.  Comments on this document You are looking at the AMIS tutorial.  Comments on this document
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.
 +</code>
 +
 +<code>
 +                  **** 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.  C-F means "control F" C-_ means
 +              "control underscore" (use C-? on a VT100 to get C-_).
 +M-            A two-character command sequence where the first character
 +              is ESCAPE.  M-F means "ESCAPE then F".
 +M-X string    A command designated "by hand" M-X Write Region means:
 +              ESCAPE, then "X", then type "Write Region", then <CR>.
 +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         Select a different buffer (prompts; default = last one).
 +C-X C-B       Display the list of available buffers.
 +C-X K         Kill a buffer (prompts; default = current one).
 +M-<           Move to the beginning of the current buffer.
 +M->           Move to the end of the current buffer.
 +
 +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  Show every command containing string (try C-_ A Paragr).
 +C-_ D string  Describe a command (try C-_ D Query Rep).
 +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           Provide a numeric argument of n for the next command. 
 +C-Q           Insert a control character in the buffer (e.g. C-Q C-L). 
 +
 +CHARACTER OPERATIONS.
 +C-B           Move left (Back).
 +C-F           Move right (Forward).
 +C-P           Move up (Previous).
 +C-N           Move down (Next).
 +RUBOUT        Delete left.
 +C-D           Delete right.
 +C-T           Transpose the characters before and after dot (ht -> th).
 +
 +WORD OPERATIONS.
 +M-B           Move left (Back).
 +M-F           Move right (Forward).
 +M-RUBOUT      Kill left (C-Y yanks it back at dot).
 +M-D           Kill right (C-Y yanks it back at dot).
 +M-T           Transpose 2 words around dot (if only -> only if).
 +M-C           Capitalize word.
 +M-U           Upcase word.
 +M-L           Downcase word.
 +
 +
 +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    Kill from beginning to dot (C-Y yanks it back at dot).
 +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           Redisplay screen page.
 +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           "Incremental" search; searches while you enter string
 +              (C-S str$).
 +C-R           "Incremental" backward search (C-R str$).
 +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       Exchange dot and mark (i.e. go to other end of region).
 +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         Resume single window (using buffer from top window).
 +C-X O         Move cursor to other window (usual commands still apply).
 +C-Z V         Display the next screen in the other window.
 </code> </code>
vintage_systems/amis_editor.txt · Last modified: 2025/05/14 00:47 by smj