home *** CD-ROM | disk | FTP | other *** search
- HELP
-
- To assist you in remembering the Micro Emacs commands, this Help facility has
- been included. The following keys will allow you to browse through this menu.
- UPARROW - previous line
- DNARROW - next line
- PAGEUP - previous page
- PAGEDN - next page
-
- To return to MicroEMACS, simply press the return key.
-
- MOVING CURSOR AND SCREEN
-
- ^F or RIGHTARROW - next character ^P or UPARROW - previous line
- ^B or LEFTARROW - previous line ^N or DNARROW - next line
- ESC F - next word ESC B - previous word
- ^A - beginning of line ^E - end of line
- ESC < or HOME - beginning of file ESC > or END - end of file
- ^V or PAGEDN - next page ESC V or PAGEUP -previous page
-
- REGIONS
-
- A region is defined to be the text between the mark and the dot or current
- position of the cursor. The mark must always precede the dot.
-
- ESC @ or ESC . or ESC ' '- set mark
- ^X^X - exchange the positions of the dot and the mark
-
- DELETING AND INSERTING
-
- INS - toggle between insert and overwrite modes
- Delete arrow or ^H - delete previous char
- DEL or ^D - delete next char
- ESC D - delete next word
- ESC Delete arrow or ESC ^H - delete previous word
- ^K - delete to end of line,(contents will be copied into kill buffer)
- ^W - delete region, (contents will be copied into kill buffer)
- ^O - insert blank line
- ^X^O - delete blank line
-
- COPYING AND MOVING
- To move a region of text:
- 1. define the start and end of the region by setting the mark and dot.
- 2. delete the region into the kill buffer ( ^W)
- 3. position the cursor to the new location
- 4. yank back the kill region (^Y)
- To copy a region of text:
- 1. define the start and end of the region by setting the mark and dot.
- 2. copy the region into the kill buffer ( ESC W)
- 3. position the cursor to the new location
- 4. yank back the kill region (^Y)
-
- SEARCH AND REPLACE
- ^S or ESC S - search forward ^R - search backward
- ESC R - search for 1st string and replace with 2nd string throughout the
- rest of the file
- ^U n ESC R - search for the 1st string and replace with 2nd n times
- ESC ^R - replace each occurance of 1st string with 2nd after query
- ^U n ESC ^R - replace with query n times
-
- ON-SCREEN FORMATTING
- ^X F - set fill column for word wrap
- ^J - indent to 1st non blank column on previous line
- ^Un TAB - set tab spacing to n characters.
- ESC U - upper case word ESC L - lower case word
- ^X U - upper case region ^X L - lower case region
- ^T - transpose characters
-
- WINDOWS
- Two or more windows may be active on the screen. Each window may show a
- different part of the same buffer or a different buffer.
- ^X 2 - split this window into 2 windows ^X 1 - return to one window
- ^X^N or ^X N - move to next window
- ^X^P or ^X P - move to previous window
- ^X '^' - enlarge this window ^X^Z - shrink this window
- ESC ^Z or ESC Z - scroll this window up one line
-
- BUFFERS
- A buffer contains a file to be edited. The name of the buffer corresponds to
- the name of the file it contains.
- ^X B - switch to another buffer
- ^X^B - list the buffers on the screen
- ^X K - delete a non-current buffer
- ^X^V - visit file. If buffer for this file exists, switch to that buffer.
- Otherwise create new buffer and read in file.
-
- READING AND WRITING FILES
- ^X R or ^X^R - read file into current buffer
- ^X^S or ^X S - save file
- ^X^W or ^X W - write current buffer to a file. Type in new filename at prompt.
- ^X^V - visit file. If buffer for this file exists, switch to that buffer.
- Otherwise create new buffer and read in file.
-
- SPECIAL KEYS AND EXIT
- ^G - Abort current command
- ^L or ^_ - refresh screen
- ^Q or ESC Q - next character is a control character
- ^C - run DOS command line interpreter
- ^X ! - run 1 DOS command
- ^X = - show cursor position on message line
- ESC ! = - reposition cursor
- ^X ( - start keyboard macro definition
- ^X ) = end keyboard macro definition
- ^X E - execute keyboard macro
- ^X C or ^X^C -hard exit, do not save file
- ^X^F -exit and save file
-