home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / jed098-4.zip / JED / DOC / EMACS.TXT < prev    next >
Text File  |  1997-02-01  |  9KB  |  203 lines

  1. This file was provided by rgo@drmail.dr.att.com.
  2.  
  3.                 Default Key Bindings for JED EMACS
  4.         ==================================
  5.  
  6. KEY         ACTION                        JED FUNCTION (Invoke via ESC X)
  7.  
  8.  ENTER      New line and indent           newline_and_indent
  9.  DEL        Backward delete character     backward_delete_char_untabify
  10.  Backspace  Help                          help_prefix
  11.  TAB        "Smart" line indent           indent_line
  12.  PageDown   Move forward by pages         page_down
  13.  PageUp     Move backward by pages        page_up
  14.  Up Arrow   Move backward by lines        previous_line_cmd
  15.  Down Arrow Move forward by lines         next_line_cmd
  16.  
  17.  
  18. CONTROL
  19.  
  20.  ^A   Go to start of line                 beg_of_line
  21.  ^B   Move backward by characters         previous_char_command
  22.  ^D   Forward delete character            delete_char_cmd
  23.  ^E   Go to end of line                   eol_cmd
  24.  ^F   Move forward by characters          next_char_cmd
  25.  ^G   Abort out of things                 kdb_quit
  26.  ^H   Help                                help_prefix
  27.  
  28.       ^HA  Show related functions
  29.       ^HF  Help on function
  30.       ^HH  Show basic key bindings
  31.       ^HK  Show key binding
  32.       ^HI  Bring up Info Browser
  33.       ^HM  Display Unix man page
  34.       ^HV  Show variable definition and value
  35.       ^HW  Show what key is bound to a command
  36.       ^H?  Show Menus
  37.  
  38.  ^I   "Smart" line indent                 indent_line
  39.  ^J   New line (CR-LF)                    newline
  40.  ^K   Kill to end of line                 yp_kill_line
  41.  ^L   Put current line in center          emacs_recenter
  42.  ^M   New line and indent                 newline_and_indent
  43.  ^N   Move forward by lines               next_line_cmd
  44.  ^O   Open up a blank line                emacs_open_line
  45.  ^P   Move backward by lines              previous_line_cmd
  46.  ^Q   Insert literal                      quoted_insert
  47.  ^R   Search backwards                    search_backward
  48.  ^S   Search forward                      search_forward
  49.  ^T   Transpose characters                transpose_chars
  50.  ^U   Repeat command four times           universal_argument
  51.  ^V   Move forward by pages               page_down
  52.  ^W   Kill region                         yp_kill_region
  53.  ^X   Command prefix
  54.  ^Y   Yank back from kill buffer          yp_yank
  55.  ^Z   Suspend JED                         sys_spawn_cmd
  56.  ^_   Undo                                undo
  57.  ^@   Start to define region (set mark)   smart_set_mark_cmd
  58.  
  59.  
  60. ESCAPE
  61.  
  62.  ESC B   Backup by words                  bskip_word
  63.  ESC C   Initial capitalize word          capitalize_word
  64.  ESC D   Delete forward word              yp_kill_word
  65.  ESC F   Advance by words                 skip_word
  66.  ESC L   Lower case word                  downcase_word
  67.  ESC N   Narrow paragraph                 narrow_paragraph
  68.  ESC n   Scroll up in place               scroll_up_in_place
  69.  ESC O   Command prefix
  70.  ESC P   Scroll down in place             scroll_down_in_place
  71.  ESC Q   Format paragraph                 format_paragraph
  72.  ESC S   Center line                      center_line
  73.  ESC U   Upper case word                  upcase_word
  74.  ESC V   Move backward by pages           page_up
  75.  ESC W   Copy region to kill buffer       yp_copy_region_as_kill
  76.  ESC X   Execute JED command              emacs_escape_x
  77.  ESC Y   Yank and pop                     yp_yank_pop
  78.  
  79.  ESC ^B  Go back to matching (, {, or [   backward_sexp
  80.  ESC ^F  Go ahead to matching ), }, or ]  forward_sexp
  81.  ESC ^H  Go to start of function          c_mark_function
  82.  ESC ^K  Kill to matching ), }, or ]      kill_sexp
  83.  ESC %   Query search and replace         replace_cmd
  84.  ESC <   Move to start of buffer          beg_of_buffer
  85.  ESC >   Move to end of buffer            end_of_buffer
  86.  ESC !   Execute shell command            do_shell_cmd
  87.  ESC .   Find tag                         find_tag
  88.  ESC ;     Create language comment          c_make_comment
  89.  ESC $   Invoke ispell                    ispell
  90.  ESC /   Abbreviation (?)                 dabbrev
  91.  ESC DEL Backward delete word             yp_bkill_word
  92.  ESC \   Delete all whitespace            trim_whitespace
  93.  
  94.  ESC space  Trim whitespace to one space  .bskip_white trim insert_single_space
  95.  ESC right arrow  Advance by words        skip_word
  96.  ESC left arrow   Backup by words         bskip_word
  97.  
  98. CONTROL-X
  99.  
  100.  ^X B   Switch to buffer                  switch_to_buffer
  101.  ^X D   Invoke directory editor           dired
  102.  ^X E   Execute macro                     execute_macro
  103.  ^X F   Set fill column                   set_fill_column
  104.  ^X G   Insert from register              reg_insert_register
  105.  ^X H   Mark buffer                       emacs_mark_buffer
  106.  ^X I   Insert file                       insert_file
  107.  ^X J   Go to last spot and unmark it     pop_spot
  108.  ^X K   Kill buffer                       kill_buffer
  109.  ^X M   Send mail                         mail
  110.  ^X N   Delete everything but region      narrow_to_region
  111.  ^X O   Goto other window                 other_window
  112.  ^X Q   Macro query                       macro_query
  113.  ^X RK  Kill rectangular region           kill_rect
  114.  ^X RO  Open rectangular region           open_rect
  115.  ^X RR  Copy rectangular region           copy_rect
  116.  ^X RY  Insert rectangular region         insert_rect
  117.  ^X S   Save buffers                      save_buffers
  118.  ^X U   Undo                              undo
  119.  ^X W   Undo effects of Narrow to region  widen_region
  120.  ^X X   Copy region to register           reg_copy_to_register
  121.  
  122.  ^X (   Begin macro                       begin_macro
  123.  ^X )   End macro                         end_macro
  124.  ^X /   Mark a spot                       mark_spot
  125.  ^X 0   Delete current window             delete_window
  126.  ^X 1   One window                        one_window
  127.  ^X 2   Split current window              split_window
  128.  ^X 4B  Switch to buffer in other window  find_buffer_other_window
  129.  ^X 4F  Find file in other window         find_file_other_window
  130.  ^X <   Scroll left                       scroll_left
  131.  ^X >   Scroll right                      scroll_right
  132.  ^X ^   Enlarge display window            enlarge_window
  133.  ^X ?   Show the cursor position          whatpos
  134.  ^X =   Show the cursor position          whatpos
  135.  ^X '   Compile parse errors              compile_parse_errors
  136.  
  137.  ^X ^B  Display buffer list               list_buffers
  138.  ^X ^C  Exit JED                          exit_jed
  139.  ^X ^F  Find file                         find_file
  140.  ^X ^O  Collapse blank lines to one       delete_blank_lines
  141.  ^X ^Q  Toggle read-only mode             toggle_readonly
  142.  ^X ^S  Save current buffer               save_buffer
  143.  ^X ^T  Transpose lines                   transpose_lines
  144.  ^X ^V  Find alternate file               find_alternate_file
  145.  ^X ^W  Write buffer to file              write_buffer
  146.  ^X ^X  Go to other end of region         exchange
  147.  ^X ESC Invoke S-LANG Interpreter         evaluate_cmd
  148.  
  149.  
  150.      JED FUNCTIONS NOT BOUND TO KEYS - ACCESS VIA ESC X
  151.      (OR BIND TO KEYS IN YOUR .jedrc FILE)
  152.      =========================================================
  153.  
  154.   FUNCTION              MEANING
  155.  
  156.   abbrev_mode
  157.   append_region         Append region to file
  158.   beep
  159.   blank_rect            Blank-fill rectangular region
  160.   c_mode                Set C program mode
  161.   calendar        Display a 3-month calendar in a new window
  162.   compile
  163.   define_abbreviation
  164.   describe_bindings
  165.   describe_mode
  166.   digit_arg
  167.   edit_tab_stops        Define tab stops in arbitrary columns
  168.   evalbuffer
  169.   exit_mini
  170.   find_binary_file      Edit binary file
  171.   fortran_mode          Set Fortran program mode
  172.   goto_column_cmd       Go to column number
  173.   goto_line_cmd         Go to line number
  174.   goto_match            Go to matching delimiter: (, ), [, ], {, or }
  175.   insert_buffer         Insert buffer
  176.   isearch_backward      Incremental search backward
  177.   isearch_forward       Incremental search forward
  178.   latex_mode            Set LaTex mode
  179.   mini_complete
  180.   narrow
  181.   no_mode               Set no mode
  182.   occur            Find all occurrences of a regular expression
  183.   query_replace_match   Regular expression query search and replace
  184.   re_search_backward    Regular expression search backward
  185.   re_search_forward    Regular expression search forward
  186.   recover_file          Recover file from backup
  187.   redraw
  188.   replace_across_buffer_files
  189.   save_abbrevs
  190.   self_insert_cmd
  191.   set_mark_cmd
  192.   sh_mode               Set shell mode
  193.   shell                 Open a window running a Unix shell
  194.   sort                  Sort a region
  195.   text_mode             Set text mode
  196.   text_smart_quote
  197.   toggle_crmode
  198.   toggle_undo           Enable/disable undo capability on a buffer
  199.   trim_buffer           Trim trailing whitespace in a buffer
  200.   untab                 Convert tabs to blanks in a region
  201.   widen
  202.   write_region          Write region to file
  203.