Porting Central
Skip to main content

Porting Central

Keybindings in EZ

This document contains a comprehensive list of default keybindings for EZ. Some of the functions bound to keys are also available as menu options, as noted (examples include Switch File ^X^R, Save ^X^S, and Save As ^X^W.)

After explaining how to type the different kinds of key sequences, this document lists and explains keybindings for these categories:

Moving the text caret

Scrolling text

Selecting, cutting and pasting text

Checking and changing styles

Canceling commands

Manipulating and saving files and buffers

Manipulating windows

Manipulating spacing, lines, and paragraphs

Searching for and replacing text

Defining and using macros

Using recursive editing

Quitting the EZ process

Other useful commands

Typing Keybindings

There are several kinds of keybinding sequences, each of which is conventionally symbolized in a different way. This section gives general instructions on how to type each kind. They are:

^Key where Key is a letter other than "X"

^X^Key

^Xkey

Esc-Key

Esc-key

Key or key stands for a particular key, ^ stands for the "Control" key (Ctrl on most keyboards), and Esc- stands for the "Escape" key (Esc on most keyboards).

You can repeat the first kind of Ctrl command (^Key) by holding down both keys for a longer time. Repeat the other kinds by repeating the key sequence each time. You can also use the ^U sequence to repeat any keybound command; see the Other useful commands section at the end of this document.

Ctrl commands are not case sensitive, meaning that there is no distinction between upper and lower case letters. ^X and ^Key are written as capital letters only by convention. You do not have to use the Shift key when typing them, though you can if you want.

Esc- commands are case sensitive, meaning that there is a difference when Key is upper case versus when it is lower case. You do need to use the Shift key when an upper case is shown. Do not type the hyphen, however.

To type a ^Key sequence:

1) Press and hold the Ctrl key.

2) Holding the Ctrl key down, press and release the key key (you need not Shift).

3) To repeat the command, press and hold Key while holding Ctrl.

To type a ^X^Key sequence:

1) Press and hold the Ctrl key.

2) Holding the Ctrl key down, press and release the x key.

3) Still holding the Ctrl key down, press and release the key key. Release the Ctrl key.

To type a ^Xkey sequence:

1) Press and hold the Ctrl key.

2) Holding the Ctrl key down, press and release the x key.

3) Release the Ctrl key.

4) Press and release the key key.

To type an Esc-Key sequence:

1) Press and release the Esc key.

2) Press and hold the Shift key.

3) While holding the Shift key, press and release the key key.

To type an Esc-key sequence:

1) Press and release the Esc key.

2) Press and release the key key.

Moving the Text Caret

^F Moves caret forward one character.

^B Moves caret backward one character.

^A Moves caret to beginning of line.

^E Moves caret to end of line.

Esc-b Moves caret to beginning of previous word (or current word if in middle of word).

Esc-f Moves caret to beginning of next word.

^N Moves caret to same column on next line.

^P Moves caret to same column on previous line.

Esc-, Moves caret to line at top of screen.

Esc-. Moves caret to line at bottom of screen.

Esc-/ Moves caret to line at center of screen.

Esc-< Moves caret and view to beginning of file (top-of-buffer).

Esc-> Moves caret and view to end of file (end-of-buffer).

Scrolling Text

^Z Scrolls text up one line.

^Q Scrolls text down one line.

Esc-z Scrolls text down one line.

^V Scrolls text up one screen-height (shows next screenful).

Esc-v Scrolls text down one screen-height (shows previous screenful).

Esc-! Moves line containing caret to top of window.

Selecting, Cutting, and Pasting Text

^@ Sets a mark.

^X^X Exchanges caret (dot) and mark.

Esc-^@ Selects region between caret and mark.

^W Deletes selected region of text; places in cutbuffer (same as Cut menu option; stands for "wipe").

Esc-w Copies selected region into cutbuffer (same as Copy menu option).

^D Deletes character immediately following caret.

^K Deletes text from caret to next carriage return; places in cutbuffer (stands for "kill").

^H Deletes character immediately in front of caret (rubout).

Esc-h Deletes characters from caret to previous space (rubs out a word).

Esc-^H Deletes characters from caret to previous space (rubs out a word).

Esc-d Deletes characters from caret to next space (rubs out a word).

^Y Pastes newest entry in cutbuffer back into file (same as Paste menu option; stands for "yank").

Esc-y Moves "pointer" to newest entry in cutbuffer back by one and pastes it into file, replacing selected text if any.

Esc-^Y Moves "pointer" to newest entry in cutbuffer forward by one and pastes it into file, replacing selected text if any.

Checking and Changing Styles

See the Using Styles in EZ help document for more information about applying and removing styles.

Esc-s Shows styles applied to word containing caret or selected word, on message line.

^X^P Removes "outermost" style from word containing caret or selected word (same as Plainer menu option.).

Esc-^P Removes all styles from word containing caret or selected word (same as Plainest menu option.).

Esc-' Esc-i Set italic style.

Esc-' Esc-b Set bold style.

Esc-' Esc-^ Set superscript style.

Esc-' Esc-! Set subscript style.

Esc-' Esc-_ Set underline style.

Esc-' Esc-t Set typewriter style.

Esc-' Esc-+ Set bigger style.

Esc-' Esc-- Set smaller style.

Esc-' Esc-= Set center style.

Esc-' Esc-< Set flushleft style.

Esc-' Esc-> Set flushright style.

Esc-' Esc-<TAB> Set leftindent style.

Esc-' Esc-p Set Plainer style.

Esc-' Esc-P Set Plainest style.

Canceling Commands

All variations of ^G cancel the current command.

^G

^X^G

Esc-^G

Manipulating and Saving Files and Buffers

See the ez-buffers help document for more information on the relation between files and buffers, and to learn how to put buffer manipulation functions on menu cards.

^X^S Saves buffer into associated file (same as Save menu option).

^X^W Saves buffer under the filename you provide (same as Save As menu option).

^X^M Saves all modified buffers that have associated files (same as Save All menu option).

^X^R Switches to named file (same as Switch File menu option).

^X^V Visits existing file or creates a buffer associated with the file you name.

^Xb Switches to named buffer or creates a new buffer with that name.

^Xk Deletes named buffer from the EZ process.

^X^O Switches to existing buffer.

^X^B Lists all buffers in current EZ process.

^X^I Inserts named file into the current buffer at caret position.

Manipulating Windows

See the ez-buffers help document for more information.

^X2 Opens new window that displays same buffer as current window.

^U^X2 Prompts for a hostname and then opens a new window that displays same buffer as current window on the specified host.

^X^D Deletes current window. (Buffer remains active in process.)

Manipulating Spacing, Lines, and Paragraphs

Note that many of these commands are not self-inserting. In other words, ^J does not insert a "real" ^J (a linefeed), but ^X^Q^J does, as well as ^M. Similarly, ^M does not insert a "real" ^M (a carriage return), but ^X^Q^M does.

^I Moves text immediately following caret over to next tab stop.

^J Creates new blank line following current line; moves caret there.

^M Inserts linefeed at location of caret, moving caret to new line (same as Enter or Return).

^O Moves text following caret on current line down to next

Esc-i Indents line containing caret by 4 spaces and places caret at end of line.

Esc-k Deletes any white space surrounding caret.

Esc-n Moves caret to paragraph you specify by number.

Esc-N Returns number of current paragraph.

Searching for and Replacing Text

See the searching and query-replace help documents for details.

^S Searches forward (toward end) for specified character(s).

^R Searches backward (toward beginning) for specified character(s).

Esc-q Starts query replace routine.

Defining and Using Macros

^X( Starts macro definition.

^X) Ends macro definition.

^Xe Invokes the macro you defined with ^X( and ^X).

Using Recursive Editing

^Xs Starts recursive edit.

^C Ends recursive edit.

^X^T Save-excursion. Recursive edit visit.

Quitting the EZ Process

^X^C Quits EZ process after prompting for save of modified buffers.

Other Useful Commands

Esc-c Changes to new current working directory.

^U n key-sequence Repeats n times the command invoked by key-sequence. If n is omitted, repeats command four times.

^X^Q "Quotes" character, allowing you to insert or find control characters in the file. For example, a search for ^X^Q^J would locate ^J's (linefeeds) in your document.

^L Redisplays text in window.

^T Transposes two characters in front of caret.

Related Topics