aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-01 09:19:08 +0000
committerBlaž Hrastnik2021-03-01 09:19:08 +0000
commit32f9a2d1d6fe4955cffffa71bbdfc5a43a6f0c9c (patch)
tree7600ee735aff13d5ba14460a38eb92a118a5ada6 /helix-term
parent857bce0e301e81e3a90fd2f8a9683327bfc395d4 (diff)
add missing fn
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) {