summaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs6
1 files changed, 6 insertions, 0 deletions
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) {