Previous: , Up: Basic Commands   [Contents][Index]


2.8 Registers

Registers allow you to save a text position or chunk of text associated with a key-event. This is a convenient way to repeatedly access a commonly-used location or text fragment. The concept and key bindings should be familiar to TECO users.

Command: Save Position (bound to C-x s)
Command: Jump to Saved Position (bound to C-x j)

These commands manipulate registers containing textual positions. Save Position prompts for a register and saves the location of the current point in that register. Jump to Saved Position prompts for a register and moves the point to the position saved in that register. If the saved position is in a different buffer, then that buffer is made current.

Command: Put Register (bound to C-x x)
Command: Get Register (bound to C-x g)

These commands manipulate registers containing text. Put Register prompts for a register and puts the text in the current region into the register. Get Register prompts for a register and inserts the text in that register at the current point.

Command: List Registers
Command: Kill Register

List Registers displays a list of all the currently defined registers in a pop-up window, along with a brief description of their contents. Kill Register prompts for the name of a register and deletes that register.


Previous: Counting Commands, Up: Basic Commands   [Contents][Index]