diff --git a/helix-view/src/register.rs b/helix-view/src/register.rs index 0ebea53698ea5..e3db21cec5355 100644 --- a/helix-view/src/register.rs +++ b/helix-view/src/register.rs @@ -95,8 +95,8 @@ impl Registers { self.clipboard_provider.set_contents( values.join(NATIVE_LINE_ENDING.as_str()), match name { - '*' => ClipboardType::Clipboard, - '+' => ClipboardType::Selection, + '+' => ClipboardType::Clipboard, + '*' => ClipboardType::Selection, _ => unreachable!(), }, )?;