From 2e46493affceb0e00bd7a7fca262714c8f5d5ddc Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 27 Sep 2021 04:24:26 +0900 Subject: [PATCH] Add doc about em-kill-line macro --- lib/reline/line_editor.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index d817a2d95e..71e4a00b75 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -2552,6 +2552,10 @@ def finish 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)