File Related Commands
| C-x C-s |
Saves the file in the current buffer. |
| C-x s |
Saves all files in buffers that need saving. |
| C-x C-w |
Saves the current buffer to a new file. Prompts for the new file name
at the XEmacs command line. |
| C-x C-f |
Loads the file you name or creates a new file by that name if it does
not already exist. |
| C-x d |
Runs directory edit, which lists the files in the current directory.
(To select a file, move the cursor to that file and type f.) |
| C-x i |
Inserts a file at the point where the cursor is. Prompts for the name
of the file to be inserted. |
| C-x C-c |
Quit XEmacs. Prompts user to save any files that need saving. |
Moving Around
| C-f (right arrow) |
Moves the cursor to the right. |
| C-b (left arrow) |
Moves the cursor to the left. |
| C-n (down arrow) |
Moves cursor to the next line. |
| C-p (up arrow) |
Moves cursor to the previous line. |
| C-a |
Moves the cursor to the start of the line. |
| C-e |
Moves the cursor to the end of the line. |
| C-v (Page Down) |
Scrolls down one screen at a time. |
| Esc v (Page Up) |
Scrolls up one screen at a time. |
| Esc < (Home) |
Takes the cursor to the top of the file. |
| Esc > (End) |
Takes the cursor to the bottom of the file. |
Editing Commands
| C-d |
Deletes the character the cursor is on. |
| Del |
Deletes the previous character. |
| Esc d |
Deletes the next word. |
| Esc Del |
Deletes the previous word. |
| C-k |
Deletes the rest of the line. |
| Esc k |
Kills the rest of the sentence. |
| C-y |
Brings back (yanks) what was just killed. |
| C-g |
Cancels whatever command is currently issued. |
| Esc @ |
Sets a mark in the text. |
| C-w |
Wipes out everything from the cursor to where you set the mark and
puts that text in a kill ring. |
| Esc w |
Copies everything from the cursor to where you set the mark and puts
it in a kill ring. |
| C-x u |
Undo. |
| C-x C-x |
Takes you to the place you set the mark. |
| Esc # <line number> |
Takes you to the specified line number. |