From 32f9a2d1d6fe4955cffffa71bbdfc5a43a6f0c9c Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 1 Mar 2021 18:19:08 +0900 Subject: add missing fn --- helix-term/src/commands.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'helix-term') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 4a329f28..0d07059f 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) { -- cgit v1.2.3-70-g09d2