ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "hsbt (Hiroshi SHIBATA) via ruby-core" <ruby-core@ml.ruby-lang.org>
To: ruby-core@ml.ruby-lang.org
Cc: "hsbt (Hiroshi SHIBATA)" <noreply@ruby-lang.org>
Subject: [ruby-core:117419] [Ruby master Feature#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding?
Date: Wed, 03 Apr 2024 05:52:45 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-107794.20240403055245.13463@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14125.20171122034928.13463@ruby-lang.org

Issue #14125 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed

readline wrapper is extracted to https://github.com/ruby/readline-ext. Can you file your request to https://github.com/ruby/readline-ext ?

Or we used reline that is pure ruby altanative of readline today. You may need to file this to https://github.com/ruby/reline.





----------------------------------------
Feature #14125: Readline Module (STDLIB): Add support for ^O emacs keybinding?
https://bugs.ruby-lang.org/issues/14125#change-107794

* Author: rlue (Ryan Lue)
* Status: Closed
----------------------------------------
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,
* ^X^U 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.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

           reply	other threads:[~2024-04-03  5:52 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <redmine.issue-14125.20171122034928.13463@ruby-lang.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-107794.20240403055245.13463@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    --cc=noreply@ruby-lang.org \
    --cc=ruby-core@ml.ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).