LAB HELP Emacs Editor Commands

Emacs Editor Common Commands

Note when in Emacs:
   C   -   means HOLD control key
   M   -   means HOLD ALT key
C-xC-c Exit from editor
C-xC-s Save (output) file
C-xC-f Find file (opens it into emacs window)
C-xC-w Write to file (save under new name similar to "save as")
M-v Page UP 1 screen
C-e Move cursor to END of LINE
C-a Move cursor to BEGINNING of LINE
C-d Delete character AT cursor
M-> Move to END OF WHOLE TEXT
M-< Move to BEGINNING of WHole TEXT
C-k Delete to end of current line (Cut)
C-y Paste (yank from buffer) last item Cut
C-g Kill current command, or STOP when stuck
C-x u Undo previous command (allows several in a row)
C-s Search for string in file (forward search)
C-r Search for string in file (reverse search)
C-h Get help on emacs commands
M-x insert-file Inserts a File into current location
M-x compile Runs compile command from within emacs
M-x shell Runs the unix command line (shell) within emacs