From b105daa511d33603a4983d8a1636ec34d0f89247 Mon Sep 17 00:00:00 2001 From: Omnikar Date: Thu, 2 Nov 2023 13:59:32 -0400 Subject: [PATCH] Swap system and primary clipboard registers --- helix-view/src/register.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-view/src/register.rs b/helix-view/src/register.rs index 0ebea53698ea..e3db21cec535 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!(), }, )?;