aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline/line_editor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r--lib/reline/line_editor.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 0a72de1500..7097a3d878 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -1411,15 +1411,15 @@ class Reline::LineEditor
}
end
- private def ed_search_prev_history(key)
+ private def vi_search_prev(key)
incremental_search_history(key)
end
- alias_method :reverse_search_history, :ed_search_prev_history
+ alias_method :reverse_search_history, :vi_search_prev
- private def ed_search_next_history(key)
+ private def vi_search_next(key)
incremental_search_history(key)
end
- alias_method :forward_search_history, :ed_search_next_history
+ alias_method :forward_search_history, :vi_search_next
private def ed_prev_history(key, arg: 1)
if @is_multiline and @line_index > 0