feat: add literal buffer search and match navigation

This commit is contained in:
Valdemar Lorenzen
2026-10-06 12:02:14 +02:00
parent 714f1ff4de
commit 3ad6ca1fe2
7 changed files with 362 additions and 19 deletions
+2 -1
View File
@@ -26,6 +26,7 @@ module Vamp
insert insert_first_nonblank append append_line_end open_below open_above
left right down up join_lines line_start line_end delete undo redo command
normal newline backspace submit
search search_next search_previous
].each do |name|
action = Action.new("core.#{name}".freeze).freeze
define_singleton_method(name) { action }
@@ -33,7 +34,7 @@ module Vamp
end
module Modes
%w[normal insert command].each do |name|
%w[normal insert command search].each do |name|
mode = Mode.new(name.freeze).freeze
define_singleton_method(name) { mode }
end