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