Previous Next Chapter

Project Menu

The commands in the Project menu, except for Visit-file, affect the buffer associated with the current cursor position.

Rename

Ctrl+X,F

Changes the name of the file associated with the current buffer. Pressing Return without specifying a file name disassociates the buffer from any file name.

Read-file

Ctrl+X, Ctrl+R

Replaces the contents of the current buffer with the contents of a file. Enter a complete file path. Press Return without specifying a file name to ignore the request and return to normal mode.

Visit-file

Ctrl+X, Ctrl+V

Allows you to work with additional files other than the one you are currently editing. Enter the complete file path.

Insert-file

Ctrl+X, Ctrl+I

Insert the contents of a file into the current buffer at a point one line above the current cursor position. Enter the complete file path.

Save-file

Ctrl+X, Ctrl+S

Writes the contents of the current buffer to the file name associated with that buffer. Issues the file's line count following a successful save. MEmacs does not save the file if no name is provided; it displays this error message: No file name.

Save-as-file

Ctrl+X, Ctrl+W

Allows you to specify the name and path of a file associated with a buffer.

Save-mod

Ctrl+X, Ctrl+M

Writes the contents of all modified buffers to the disk. Do not accidentally modify a buffer that you did not intend to change.

Save-exit

Ctrl+X, Ctrl+F

Saves all modified buffers and exits MEmacs.

New-Cli

Ctrl+-

Opens a new Shell window known as a Spawn Window. Enter AmigaDOS commands in the Spawn Window without interfering with MEmacs. Close the window with ENDSHELL.

Cli-Command

Ctrl+X,!

Lets you execute an AmigaDOS command while in MEmacs. Enter a command following the ! prompt at the bottom of the screen. Command output is placed in the spawn.output buffer.

Quit

Ctrl+C

Exits MEmacs. You are given an opportunity to save modified buffers or quit without saving. Alternative keyboard shortcuts: Ctrl+X,Ctrl+C Esc,Ctrl+C.

About...

.

Gives program copyright information

Edit Menu

The commands in the Edit menu affect the editing of your buffers and their associated files.

Kill-region

Ctrl+W

Deletes block of text from the current buffer and saves them in a kill buffer. Text can be retrieved with the Yank command. Make copies of a block by immediately selecting Yank without changing the cursor position after killing the block. This restores the block to its position and leaves a copy in the kill buffer.

Yank

Ctrl+Y

Copies the contents of the kill buffer to the current cursor location on the current line. Reverses the action of Kill-region without changing the contents of the kill buffer. Used with Kill-region for moving text or for repeatedly copying a single block of text.

Set-mark

Ctrl+@

Marks the cursor position in a buffer. The subsequent cursor position is referred to as a dot. Move between the mark and the dot using the Swap-dot&mark command in the Move menu. Used for marking blocks of text. Alternative keyboard shortcut: Esc,-.

Copy-region

Esc,W

Copies the contents of the marked region to the kill buffer without deleting it, replacing any previous contents.

Upper-region

Ctrl+X, Ctrl+U

Changes the text of the entire marked region to upper case.

Lower-region

Ctrl+X, Ctrl+L

Changes the text of the entire marked region to lower case.

List-buffers

Ctrl+X, Ctrl+B

Splits the current buffer's window and displays a list of the buffers MEmacs is maintaining. To redisplay the current buffer, select the One-window command or press Ctrl+X,1. The List-Buffer fields are:

C
Displays an asterisk if the buffer has been modified since it was last saved to a file. (Stands for changed.)

Size
Shows how many characters are in the buffer.

Buffer
Shows the name given to the buffer. If you read in a file, this is the name of the file without the full path.

File
Shows the full path to the file. This is the file to which MEmacs writes the buffer if you Save-file or Save-exit while the cursor is in that buffer.

Select-buffer

Ctrl+X,B

Allows you to select the buffer to edit in the current window. Replaces the contents of the window with the selected buffer or new buffer.

Insert-buffer

Esc, Ctrl+Y

Insert the contents of a named buffer into the current buffer at the line above the current cursor position.

Kill-buffer

Ctrl+X,K

Deletes the contents of one or more chosen buffers, returning the memory to the memory manager to reuse. You must specify the buffer to be deleted; a buffer cannot be killed if its contents are currently displayed.

Justify-buffer

Ctrl+X,J

Removes all blank spaces and tabs from the left edge of all the lines in the current buffer. The text realigns with the current margins.

Redisplay

Ctrl+L

Redraws the screen.

Quote-char

Ctrl+Q

Allows insertion of any literal character in the text file, except the Tab key. Alternative keyboard shortcut: Ctrl+X,Q.

Indent

Ctrl+J

Moves the cursor to the next line, automatically indenting the same amount of spaces as the previous line. Alternative keyboard shortcuts: Help or Enter on the numeric keypad.

Transpose

Ctrl+T

Swaps the positions of two adjacent characters. Place the cursor on the right-most of the two characters and execute the command.

Cancel

Ctrl+G

Ends an ongoing menu command, such as query search and replace.

Top Previous Next Chapter