Basic emacs (microemacs)

Note: Commands:
paging



The arrow keys will work, also the following.

^v move up in the file

ESC-v move down in the file

ESC-g move cursor to line n
cursor positioning


^f move cursor right (forward)

^b move cursor left (back)

^n move cursor down (next line)

^p move cursor up (previous line)
inserting text



Position the cursor using the above commands, the characters typed will be inserted. There are no command/insert modes like vi.
deleting text


^d delete the character which the cursor is on (including returns)

backspace delete the character to the left of the cursor (including returns)

^k delete from the cursor to the end of the line


Also see moving and copying text.
saving work


^x^w Save contents of buffer to disk. A file name will be requested. If the file exists it will be overwritten.

^x^s Save contents of buffer to disk using current file.
CAUTION: you need to edit your .cshrc file and put the following line in for this to work:
stty stop ^a
If you do not do this ^s will stop input, you need to type ^q to resume.
Note: This may command still not work correctly.
quitting


^x^c quit the editor, for protection the editor will prompt if a write has not been performed since changes were made.

ESC-z write file and quit the editor

^z suspend the editor. Typing fg resumes. This works for vi also.
miscellaneous


^g cancel current command and return to top level processing. Do this if you accidentally type some unknown (to you) command.
moving and
copying text




1. Mark a REIGON using ESC-spacebar at the beginning and the cursor at the end.


2. Delete it with ^w or copy it with ESC-w into the kill buffer.


3. Move the cursor to the desired location and yank it back with a ^y.