Skip to content

Commit

Permalink
Swap system and primary clipboard registers
Browse files Browse the repository at this point in the history
  • Loading branch information
Omnikar committed Nov 2, 2023
1 parent a069b92 commit b105daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-view/src/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(),
},
)?;
Expand Down

0 comments on commit b105daa

Please sign in to comment.