Emacs Tutorial

C-v    Move forward one screenful
M-v    Move backward one screenful
C-l    Clear screen and redisplay all the text.

Previous line, C-p
Next line, C-n
Backward, C-b
Forward, C-f

C-f    Move forward a character
C-b    Move backward a character
M-f    Move forward a word
M-b    Move backward a word
C-n    Move to next line
C-p    Move to previous line
C-a    Move to beginning of line
C-e    Move to end of line
M-a    Move back to beginning of sentence
M-e    Move forward to end of sentence

M-< (META Less-than),which moves to the beginning of the whole text
M-> (META Greater-than), which moves to the end of the whole text.
C-u 8 C-f moves forward eight characters.

When emacs is hung:

C-g to stop a command which is taking too long to execute.
You can also use C-g to discard a numeric argument or the beginning of a command that you do not want to finish.

C-u 8 * to insert ********

<Delete>     delete the character just before the cursor
C-d            delete the next character after the cursor
M-<Delete>   kill the word immediately before the cursor
M-d         kill the next word after the cursor
C-k         kill from the cursor position to end of line
M-k         kill to the end of the current sentence

The difference between "killing" and "deleting" is that "killed" text can be reinserted, whereas "deleted" things cannot be reinserted.

C-_ is the undo command, the same is: C-x u
C-x C-f   Find a file
C-x C-s   Save the file
C-x C-c      Exits emacs (and asks you for saving)
C-s for forward search
C-r for reverse search.

M-x to get into a minibuffer; then type ESC ESC ESC to get out.
 

 


 

by: DrDoom at Sorgonet.com 
www.sorgonet.com