NextPrevUpTopContentsIndex

18.9.1 History commands

These commands are useful in the common situation where you need to repeat a previously entered command, or enter a variant of it.

History First

Editor Command

Emacs Key Sequence: Ctrl+C <

Replaces the current command by the first command.

History Kill Current

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+K

Kills the current command when in a listener.

History Last

Editor Command

Emacs Key Sequence: Ctrl+C >

Replaces the current command by the last command.

History Next

Editor Command

Emacs Key Sequence: Alt+N or Ctrl+C Ctrl+N

Displays the next event on the history list. That is, it replaces the current command by the next one. This is not available if you are at the end of the history list. In Windows editor emulation, this History Next command is bound to Ctrl+Down .

History Previous

Editor Command

Emacs Key Sequence: Alt+P or Ctrl+C Ctrl+P

Displays the previous event on the history list: that is, it replaces the current command by the previous one. In Windows editor emulation, this History Previous command is bound to Ctrl+Up .

History Search

Editor Command

Emacs Key Sequence: Alt+R or Ctrl+C Ctrl+R

Searches for a previous command containing a given string, which it prompts for, and replaces the current command with it.

History Search From Input

Editor Command

Emacs Key Sequence: None

Searches the history list using current input. That is, it searches for a previous command containing the string entered so far, and replaces the current command with it.

Repeated uses step back to previous matches.

History Select

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+F

Presents a list of items in the command history, and replaces the current command with the selection.

History Yank

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+Y

Inserts the previous command into the current one, when in a listener.


Common LispWorks User Guide (Windows version) - 11 Apr 2005

NextPrevUpTopContentsIndex