Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/typed.rs')
-rw-r--r--helix-term/src/commands/typed.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index b354df2b..5597d586 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -1071,7 +1071,7 @@ fn yank_main_selection_to_clipboard(
return Ok(());
}
- yank_primary_selection_impl(cx.editor, '+');
+ yank_main_selection_to_register(cx.editor, '+');
Ok(())
}
@@ -1116,7 +1116,7 @@ fn yank_main_selection_to_primary_clipboard(
return Ok(());
}
- yank_primary_selection_impl(cx.editor, '*');
+ yank_main_selection_to_register(cx.editor, '*');
Ok(())
}
@@ -1197,7 +1197,7 @@ fn replace_selections_with_clipboard(
return Ok(());
}
- replace_with_yanked_impl(cx.editor, '+', 1);
+ replace_selections_with_register(cx.editor, '+', 1);
Ok(())
}
@@ -1210,7 +1210,7 @@ fn replace_selections_with_primary_clipboard(
return Ok(());
}
- replace_with_yanked_impl(cx.editor, '*', 1);
+ replace_selections_with_register(cx.editor, '*', 1);
Ok(())
}