home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Editor / FREDV19A.LHA / FrexxEd / fpl / ZMacs.FPL.README < prev    next >
Encoding:
Text File  |  1995-08-01  |  5.3 KB  |  162 lines

  1. #############################################################################
  2. File:        ZMacs.FPL
  3. Author:        Jesper Skov
  4. Email:        jskov@iesd.auc.dk
  5. Short:        Will do an Emacs-like keymap assignment
  6. Version:    1.8
  7. Date:        21.07.95
  8. Local settings:
  9. Global settings:
  10. Keysequence:    See below
  11. Type:        key
  12. Prereq:        FrexxEdMain.FPL
  13. Copyright:    © 1994-1995, Jesper Skov
  14. #############################################################################
  15.  
  16. FUNCTION
  17.   This FPL program will give FrexxEd some of the same keyboard bindings found
  18.   in GNU Emacs. If you do not use Emacs on a regular basis you will most
  19.   likely find me (and other Emacs freaks) totally insane... But what can I
  20.   say? I'm an addict :)
  21.  
  22.   External Emacs support files:
  23.    * IncSearch:          Incremental search as you know it from Emacs.
  24.               Room for improvements, though :)
  25.    * CompleteWord:    Dynamic Abbrev Expansion - A must for freaks/addicts =)
  26.    * NumericArgument: Repeated function calls/ calls with argument.
  27.  
  28.   Change the MetaKey in Customizing->Globals->System. You will have to quit
  29.   and restart FrexxEd to see the effect (remember to save first :)
  30.  
  31.   You will find the bindings below (M = <definable>, C = control)
  32.  
  33.   Version    Key-binding    Function               Non standard
  34.   -------------------------------------------------------------------------
  35.   **************************** Cursor movement ****************************
  36.   1.0        C-V        Page up                    X
  37.   1.0        M-v        Page up
  38.   1.0        C-v        Page down
  39.   1.0        C-a        Start-of-line
  40.   1.0        C-e        End-of-line
  41.   1.0        C-x o        Next view
  42.   1.0        C-x O        Previous view                X
  43.   1.0        C-c g        Goto line                X
  44.   1.0        M-<        Goto start of buffer
  45.   1.0        M->        Goto end of buffer
  46.   1.1        C-f        Right
  47.   1.1        M-f        Word right
  48.   1.1        C-b        Left
  49.   1.1        M-b        Word left
  50.   1.1        C-n        Line down
  51.   1.1        C-p        Line up
  52.  
  53.   ****************************     Editing     ****************************
  54.   1.0        C-k        Kill line (delete to end-of-line)
  55.   1.0        C-K        Kill line (all of it :)            X
  56.   1.0        shift Del    Delete to EOL                X
  57.   1.0        shift Bs    Delete to SOL                X
  58.   1.1        C-d        Delete character
  59.   1.1        M-d        Delete word
  60.   1.1        M-bs        Delete word backwards
  61.   1.1        M-s        Center line (or block if marked)
  62.   1.2        C-x u        Undo (one step)
  63.   1.2        C-t        Transpose chars
  64.  
  65.   ****************************  Block control  ****************************
  66.   1.0        C-spc        Set mark
  67.   1.0        C-W        Copy block                X
  68.   1.0        M-w        Copy block
  69.   1.0        C-w        Cut block
  70.   1.0        C-y        Paste block
  71.  
  72.   ****************************  Macro control  ****************************
  73.   1.2        C-x (        Start macro record
  74.   1.2        C-x )        End macro record (also on Esc)
  75.   1.2        C-x e        Play macro
  76.  
  77.   ****************************  Buffer control ****************************
  78.   1.0        C-x C-s        Save buffer
  79.   1.0        C-x C-w        Write buffer (save as...)
  80.   1.0        C-x C-f        Find file
  81.   1.0        C-x 4 f        Find file new view
  82.   1.0        C-x k        Kill buffer (no double return! :)
  83.   1.0        C-x C-c        Kill FrexxEd (quit)
  84.   1.0        C-x b        Goto buffer
  85.   1.0        C-x 4 b        Goto buffer new view
  86.   1.2        C-x i        Insert file
  87.  
  88.   ****************************   View control  ***************************
  89.   1.0        C-x 1        Maximize view
  90.   1.0        C-x 0        Maximize other view
  91.   1.0        C-x 2        Split view
  92.   1.2        C-l        Center view
  93.  
  94.   ***************************** Folder control ****************************
  95.   1.6        C-c C-s        Show
  96.   1.6        C-c C-S e    Show exclusive                X
  97.   1.6        C-c C-S a    Show all                X
  98.   1.6        C-c C-S d    Delete fold                X
  99.   1.6        C-c C-h        Hide
  100.   1.6        C-c C-H e    Hide exclusive                X
  101.   1.6        C-c C-H a    Hide all                X
  102.   1.6        C-c C-H n    Make new fold                X
  103.  
  104.   *************************** Search and Replace  *************************
  105.   1.3        M-%        (FrexxEd) Replace
  106.   1.8        C-S        Continue FrexxEd search forwards    X
  107.   1.8        C-R        Continue FrexxEd search backwards    X
  108.  
  109.   ****************************  Miscellaneous  ****************************
  110.   1.0        M-x        Command prefix (FrexxEd prompt)
  111.   1.2        C-z        Iconify
  112.   1.3        C-x f        Set wall_right (check WordWrap)
  113.  
  114.  
  115. HISTORY (rev)
  116.   21.07.95 (8)    Added FrexxEd continued search.
  117.  
  118.   31.05.95 (7)    Stole replace-code from menu.FPL.
  119.  
  120.   30.05.95 (6)    Added folder control key bindings.
  121.  
  122.   08.03.95 (5)    Removed search key bindings. Now set locally in IncSearch.
  123.  
  124.   01.03.95 (4)    MetaKey is now configurable via the customizing settings.
  125.  
  126.  
  127.   25.02.95 (3)    kill_line.FPL (by Daniel Stenberg) included in ZMacs.
  128.         M-d, M-bs and C-k now works with the same activation counter
  129.          (like Emacs) so that a mixed activation set of the three will
  130.          cut text to the same buffer, thus enabling you to yank all
  131.          of it back... A bit hard to explain. Give it a try!
  132.         Bug in center block fixed.
  133.         New group added - search/replace.
  134.         Set wall_right added... Now we just have to wait for some wit
  135.          (you?) to program a "fill paragraph" command.
  136.         Fixed small bug in Transpose chars.
  137.  
  138.  
  139.   09.02.95 (2)    You may now specify the meta key by changing the ZMacs.FPL
  140.           file (default is Amiga keys).
  141.         DeleteWord/BackspaceWord now use the yank-buffer.
  142.         Code cleaned up.
  143.         Added some new keys.
  144.         Jump to line now on C-c g (goto line).
  145.  
  146. BUGS
  147.   You will find many bindings which does not match the Emacs equivalent
  148.   (e.g. Kill-buffer) completely. I will not change these little differences
  149.   because that's what makes the Amiga (and FrexxEd :) special... Some other
  150.   things can even be impossible to make in FrexxEd (at the time being that 
  151.   is ;)
  152.  
  153. TODO
  154.   See ZMacs.FPL for ideas.
  155.  
  156. SEE ALSO
  157.   CompleteWord.FPL
  158.   IncSearch.FPL
  159.   NumericArgument.FPL
  160.   WordWrap.FPL
  161.   John Varley's "Millennium" (ISBN 0-441-53183-0)
  162.