ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:83859] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding?
       [not found] <redmine.issue-14125.20171122034928@ruby-lang.org>
@ 2017-11-22  3:49 ` hello
  2017-11-22  3:50 ` [ruby-core:83860] " hello
  2017-11-22 20:58 ` [ruby-core:83866] " shevegen
  2 siblings, 0 replies; 3+ messages in thread
From: hello @ 2017-11-22  3:49 UTC (permalink / raw
  To: ruby-core

Issue #14125 has been reported by rlue (Ryan Lue).

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

* Author: rlue (Ryan Lue)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.4.1
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:83860] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding?
       [not found] <redmine.issue-14125.20171122034928@ruby-lang.org>
  2017-11-22  3:49 ` [ruby-core:83859] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding? hello
@ 2017-11-22  3:50 ` hello
  2017-11-22 20:58 ` [ruby-core:83866] " shevegen
  2 siblings, 0 replies; 3+ messages in thread
From: hello @ 2017-11-22  3:50 UTC (permalink / raw
  To: ruby-core

Issue #14125 has been updated by rlue (Ryan Lue).


Whoops. All those superscript characters should be regular characters preceded by a carat, to signify a CTRL key binding.

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

* Author: rlue (Ryan Lue)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.4.1
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:83866] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding?
       [not found] <redmine.issue-14125.20171122034928@ruby-lang.org>
  2017-11-22  3:49 ` [ruby-core:83859] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding? hello
  2017-11-22  3:50 ` [ruby-core:83860] " hello
@ 2017-11-22 20:58 ` shevegen
  2 siblings, 0 replies; 3+ messages in thread
From: shevegen @ 2017-11-22 20:58 UTC (permalink / raw
  To: ruby-core

Issue #14125 has been updated by shevegen (Robert A. Heiler).


Is the functionality you referred to in the C readline available already?

Sometimes it may take a little while to have all C-related code from bindings
available e. g. in the ruby  Readline module. I know way too little about
Readline, except that I use it a lot in ruby, so any change that makes
Readline even more awesome than it already is, must be a good change.

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

* Author: rlue (Ryan Lue)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.4.1
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-22 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-14125.20171122034928@ruby-lang.org>
2017-11-22  3:49 ` [ruby-core:83859] [Ruby trunk Bug#14125] Readline Module (STDLIB): Add support for ^O emacs keybinding? hello
2017-11-22  3:50 ` [ruby-core:83860] " hello
2017-11-22 20:58 ` [ruby-core:83866] " shevegen

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).