Skip to content

Commit

Permalink
swap yank command registers
Browse files Browse the repository at this point in the history
\helix-editor#8703 swapped the `+` and `*` registers, but did not swap them in the
corresponding yank commands.
  • Loading branch information
dead10ck committed Nov 3, 2023
1 parent ae6a0a9 commit ae93b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ae93b27

Please sign in to comment.