From 32f9a2d1d6fe4955cffffa71bbdfc5a43a6f0c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 1 Mar 2021 18:19:08 +0900 Subject: [PATCH] add missing fn --- helix-term/src/commands.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 4a329f289..0d07059f0 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1016,6 +1016,12 @@ pub fn join_selections(cx: &mut Context) { doc.append_changes_to_history(); } +pub fn keep_selections(cx: &mut Context) { + let doc = cx.doc(); + // keep selections matching regex + // and another method for inverse +} + // pub fn save(cx: &mut Context) {