diff options
author | aycabta <[email protected]> | 2021-09-27 04:24:26 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2021-12-24 18:23:28 +0900 |
commit | a9c59b13da161eec3b7a1b028f83af142509d802 (patch) | |
tree | 07b9b1eb66390f74cd157a43b838f37bd1c22cc9 /lib/reline/line_editor.rb | |
parent | bad1e153d485cf7b68981a78e78e23c3f118c5a8 (diff) |
[ruby/reline] Add doc about em-kill-line macro
https://github.com/ruby/reline/commit/2e46493aff
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index d94821e6fe..74198491da 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -2632,6 +2632,10 @@ class Reline::LineEditor end alias_method :unix_line_discard, :vi_kill_line_prev + # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the + # edit buffer and save it to the cut buffer. +vi-kill-line-prev+ + # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the + # current line, no matter where point is. private def em_kill_line(key) if @line.size > 0 @kill_ring.append(@line.dup, true) |