Previous Next Chapter

Commands Not in Menus

The following commands are only accessible through the keyboard.

Keys are bound when they can be used to perform a function. For example, any key or key sequence that can be used as a shortcut for a menu item is bound to that menu item.

Describe Key

Esc, Ctrl+D

Tells you if any functions are bound to a key or key sequence. At the prompt enter the specific key or key sequence.

Bind Key

Esc, Ctrl+B

Allows you to bind a key to a function. At the prompt, enter the key or key sequence.

Unbind Key

Esc, Ctrl+U

Allows you to return a bound key to an unbound state. At the prompt, enter the key or key sequence. Standard bound keys cannot be unbound.

Echo

Esc, Ctrl+E

Displays the string entered in the command line.

Move to Edge of Window

Shift+Arrow

Moves the cursor to the top, bottom, left, or right edge of the screen.

Delete the Next Character

Ctrl+D

Deletes the character at the current position. Same as pressing Del.

Delete the Previous Character

Ctrl+H

Deletes the character to the left of the current cursor position. Same as pressing Backspace.

Move to Next Line

Ctrl+M

Inserts a newline character after the current cursor position and moves the cursor to the start of the new line.

Move x number of Characters

Ctrl+F, Ctrl+B

Allows you to move the cursor forward or backward a specified number of spaces. Providing no value moves the cursor only one character.

Customizing MEmacs

MEmacs looks for an Emacs_pro file when it is opened to see if there are any command or local files that it should automatically execute. You can customize the Emacs_pro file by adding commands to it that you use often, command sequences, or text strings. If an Emacs_pro file does not already exist, you can create one.

To create a global file of commands, place the Emacs_pro file in the S: directory. Local files can be out in any directory. If that directory is the current directory when MEmacs is opened, the commands in that particular local file are executed.

When both local and global Emacs_pro files are present, the local file overrides the global file.

For example:

Set Case On
Set-Key F11 "Dear Sirs:"
Set-Key F12 "^S Workbench"
Set-Key F13 "^X^B"

makes the following assignments:

Shift+F1

Enter the text string "Dear Sirs:".

Sift+F2

Search forward for the next occurrence of the word Workbench. (The Set Case On commands make any text searches case-sensitive.)

Shift+F3

Display the list of buffers.

You must use Ctrl+Q to enter a Ctrl+key sequence. For example, to enter the ^S character shown in the example, press Ctrl+Q, Ctrl+S.

Quitting MEmacs

You can exit MEmacs by selecting the Quit menu item in the Project menu or by entering Ctrl+C. MEmacs lets you save any modified buffers or quit without saving.

Top Previous Next Chapter