From ae93b278fc7b77eb07ebcb86bb72fbcb523748c3 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Fri, 3 Nov 2023 08:34:07 -0400 Subject: [PATCH] swap yank command registers \#8703 swapped the `+` and `*` registers, but did not swap them in the corresponding yank commands. --- helix-term/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 75df430a3eb17..6b392c7db45f4 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -3897,12 +3897,12 @@ fn yank(cx: &mut Context) { } fn yank_to_clipboard(cx: &mut Context) { - yank_impl(cx.editor, '*'); + yank_impl(cx.editor, '+'); exit_select_mode(cx); } fn yank_to_primary_clipboard(cx: &mut Context) { - yank_impl(cx.editor, '+'); + yank_impl(cx.editor, '*'); exit_select_mode(cx); }