summaryrefslogtreecommitdiff
path: root/core/builtins.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/builtins.zig')
-rw-r--r--core/builtins.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/builtins.zig b/core/builtins.zig
index 12ab9da5..589915c2 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -1998,6 +1998,16 @@ pub const Forward = struct {
}
};
+/// Reopen the last picker as it was: its rows, marks, cursor and query.
+///
+/// In the tag of the pane its Enter lands in from this one: this pane if it
+/// reads, else its reader. `SPC '`.
+pub const Resume = struct {
+ pub fn run(c: Ctx) void {
+ pardes.Pick.resumeFrom(c.p, c.id);
+ }
+};
+
/// Keep this pane: a reading pane, which a jump steps, is held from now on.
///
/// Its walk leaves its tag (its places, its owner): the next jump from its