Project

General

Profile

Actions

Feature #14125

open

Readline Module (STDLIB): Add support for ^O emacs keybinding?

Added by rlue (Ryan Lue) over 3 years ago. Updated over 1 year ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:83859]

Description

The pry gem features a REPL that uses the Readline stdlib module. With the help of this module, pry's REPL supports most emacs-style readline key bindings:

  • P / N for navigating up/down the command line history,
  • K for killing text to the end of the line,
  • Y for yanking last-killed text,
  • XU for undoing,
  • etc.

However, it does NOT support O (run command and load next line in history), and I found no reference to the binding in the docs.

I can't speak for anyone else, but I'd very much like to see this functionality implemented in the Readline module.

Actions

Also available in: Atom PDF